diff options
author | Li Heng <liheng40@huawei.com> | 2020-07-23 11:27:43 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-07-23 10:45:10 -0400 |
commit | cc0e7ff8ffe01653a078824594e32be114414035 (patch) | |
tree | ddac764bda67828c674190f8a549088eae709728 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
parent | c5a4ef3e20da16829bf417fb2093824c1bc0f82f (diff) |
drm/amdgpu: Remove redundant NULL check
Fix below warnings reported by coccicheck:
./drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30/dcn30_clk_mgr.c:557:2-7: WARNING: NULL check before some freeing functions is not needed.
Fixes: 4d55b0dd1cdd ("drm/amd/display: Add DCN3 CLK_MGR")
Signed-off-by: Li Heng <liheng40@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions