summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h
diff options
context:
space:
mode:
authorHuang Rui <ray.huang@amd.com>2019-01-22 16:26:39 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-03-19 15:03:59 -0500
commit6316f51c4758a421f7e1fcaa8e3717ea1901d550 (patch)
treea2580d9c48c18cae8188f1619d94493f02f386c4 /drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h
parentc4d74f5372da05875b62f4089da5e77367c0c778 (diff)
downloadlinux-6316f51c4758a421f7e1fcaa8e3717ea1901d550.tar.gz
linux-6316f51c4758a421f7e1fcaa8e3717ea1901d550.tar.bz2
linux-6316f51c4758a421f7e1fcaa8e3717ea1901d550.zip
drm/amd/powerplay: remove unnecessary checking in smu_hw_fini
This patch removes unnecessary NULL pointer checking in smu_hw_fini, because kfree is able to handle NULL pointer case. Suggested-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Huang Rui <ray.huang@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Reviewed-by: Kevin Wang <kevin1.wang@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h')
0 files changed, 0 insertions, 0 deletions