Skip to content
Commit 5e8f5477 authored by zhong jiang's avatar zhong jiang Committed by Alex Deucher
Browse files

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: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarzhong jiang <zhongjiang@huawei.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 46203a50
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment