aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
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_pm.c
parentdrm/amd/powerplay: get overdrive clock and voltage information (diff)
downloadwireguard-linux-6316f51c4758a421f7e1fcaa8e3717ea1901d550.tar.xz
wireguard-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_pm.c')
0 files changed, 0 insertions, 0 deletions