aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
diff options
context:
space:
mode:
authorzhong jiang <[email protected]>2018-09-21 13:12:11 +0000
committerAlex Deucher <[email protected]>2018-09-27 02:09:12 +0000
commit2faec55c4d972a87a420301ec9e4556c79ee8b54 (patch)
tree5b90fa9b5cb0dca9017c3e4ed054cd9acb2bcd71 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
parentdrm/amdgpu: print smc feature mask in debugfs amdgpu_pm_info (diff)
downloadkernel-2faec55c4d972a87a420301ec9e4556c79ee8b54.tar.gz
kernel-2faec55c4d972a87a420301ec9e4556c79ee8b54.zip
drm/amd/display: remove redundant null pointer check before kfree
kfree has taken the null pointer into account. hence it is safe to remove the redundant null pointer check before kfree. Signed-off-by: zhong jiang <[email protected]> Reviewed-by: Harry Wentland <[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