]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/pm: smu_v13_0_4: delete duplicate condition
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 18 May 2022 17:38:36 +0000 (20:38 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 26 May 2022 18:56:32 +0000 (14:56 -0400)
commitc47d9bb0ad9fc4251b8012c88f5bd002892200dd
treeb08747085e068f72903134d8af6bd9bdeeeb1367
parent5b0d1b9320b18d3d2569680971d35a325250422b
drm/amdgpu/pm: smu_v13_0_4: delete duplicate condition

There is no need to check if "clock_ranges' is non-NULL.  It is checked
already on the line before.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_4_ppt.c