]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
drm/gma500: Remove null check before kfree
authorHimanshu Jha <himanshujha199640@gmail.com>
Wed, 30 Aug 2017 13:25:56 +0000 (18:55 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 31 Aug 2017 07:24:15 +0000 (09:24 +0200)
commit3ea0bf377903981bd77d71d97200f96793bbbef2
tree41cd053292dad0cd436074d07745bca2b13cbb18
parentb07b9146635e90b72551bc8992eb85ecbaa0e593
drm/gma500: Remove null check before kfree

kfree on NULL pointer is a no-op and therefore checking is redundant.

Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/1504099556-3887-1-git-send-email-himanshujha199640@gmail.com
drivers/gpu/drm/gma500/cdv_intel_dp.c