Revert "drm/amd/pm: ensure the fw_info is not null before using it"
This reverts commit b8738df176
.
This commit is contained in:
parent
a9c05fa468
commit
acc7fa319a
1 changed files with 0 additions and 2 deletions
|
@ -1189,8 +1189,6 @@ static int init_overdrive_limits(struct pp_hwmgr *hwmgr,
|
|||
fw_info = smu_atom_get_data_table(hwmgr->adev,
|
||||
GetIndexIntoMasterTable(DATA, FirmwareInfo),
|
||||
&size, &frev, &crev);
|
||||
PP_ASSERT_WITH_CODE(fw_info != NULL,
|
||||
"Missing firmware info!", return -EINVAL);
|
||||
|
||||
if ((fw_info->ucTableFormatRevision == 1)
|
||||
&& (le16_to_cpu(fw_info->usStructureSize) >= sizeof(ATOM_FIRMWARE_INFO_V1_4)))
|
||||
|
|
Loading…
Add table
Reference in a new issue