Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amdgpu/powerplay: drop a redundant NULL check

Left over from an earlier rev of the patch.

Acked-by: Colin Ian King <colin.king@canonical.com>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Colin King <colin.king@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

-2
-2
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
··· 1469 1469 table_info->vddgfx_lookup_table, vv_id, &sclk)) { 1470 1470 if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, 1471 1471 PHM_PlatformCaps_ClockStretcher)) { 1472 - if (table_info == NULL) 1473 - return -EINVAL; 1474 1472 sclk_table = table_info->vdd_dep_on_sclk; 1475 1473 1476 1474 for (j = 1; j < sclk_table->count; j++) {