diff options
author | zhong jiang <zhongjiang@huawei.com> | 2019-10-30 09:57:53 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-10-30 11:07:13 -0400 |
commit | 5e8f5477f9d2819ea949dec4e9a68a34c7810989 (patch) | |
tree | bce6869bdb4b3842af8193c7cd39c5c8b4c72609 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
parent | 46203a508f64b4bfa150a9d25eab1dc891e7e650 (diff) |
drm/amd/display: remove redundant null pointer check before kfree
kfree has taken null pointer into account. hence it is safe to remove
the unnecessary check.
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions