Skip to content
Commit 175233f9 authored by Li Heng's avatar Li Heng Committed by Daniel Vetter
Browse files

drm: Remove redundant NULL check



Fix below warnings reported by coccicheck:
./drivers/gpu/drm/drm_drv.c:819:2-7: WARNING: NULL check before some freeing functions is not needed.

Fixes: 5dad34f3 ("drm: Cleanups after drmm_add_final_kfree rollout")
Signed-off-by: default avatarLi Heng <liheng40@huawei.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/1595474863-33112-1-git-send-email-liheng40@huawei.com
parent da3a9e9a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment