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)
commit2c270d3e71ed0b68b2f75c0b15645fb023b4032c
treeb08747085e068f72903134d8af6bd9bdeeeb1367
parent3670c46f07d13ba42bb66948fde68495078457ec
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