aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
diff options
context:
space:
mode:
authorHuang Rui <[email protected]>2019-01-22 08:26:39 +0000
committerAlex Deucher <[email protected]>2019-03-19 20:03:59 +0000
commit6316f51c4758a421f7e1fcaa8e3717ea1901d550 (patch)
treea2580d9c48c18cae8188f1619d94493f02f386c4 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
parentdrm/amd/powerplay: get overdrive clock and voltage information (diff)
downloadkernel-6316f51c4758a421f7e1fcaa8e3717ea1901d550.tar.gz
kernel-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 <[email protected]> Signed-off-by: Huang Rui <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Reviewed-by: Kevin Wang <[email protected]> Acked-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions