diff options
author | Li Heng <[email protected]> | 2020-07-23 11:27:42 +0800 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2020-07-27 22:06:13 +0200 |
commit | 175233f92e80d09f78be51e5b9abf5ca1fc9dc26 (patch) | |
tree | 172dd08ac7fa42c5ca9d5990fae56ba8fd726de3 /lib/memory-notifier-error-inject.c | |
parent | da3a9e9a6aa96ef589c153078f66e0646bf06b55 (diff) |
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: 5dad34f3c444 ("drm: Cleanups after drmm_add_final_kfree rollout")
Signed-off-by: Li Heng <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions