diff options
author | 2018-09-21 21:12:11 +0800 | |
---|---|---|
committer | 2018-09-26 21:09:12 -0500 | |
commit | 2faec55c4d972a87a420301ec9e4556c79ee8b54 (patch) | |
tree | 5b90fa9b5cb0dca9017c3e4ed054cd9acb2bcd71 /drivers/gpu/drm/amd/amdgpu | |
parent | drm/amdgpu: print smc feature mask in debugfs amdgpu_pm_info (diff) | |
download | wireguard-linux-2faec55c4d972a87a420301ec9e4556c79ee8b54.tar.xz wireguard-linux-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 <zhongjiang@huawei.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
0 files changed, 0 insertions, 0 deletions