summaryrefslogtreecommitdiffstats
path: root/mm/hugetlb.c
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2016-07-13 19:15:35 +0200
committerRob Clark <robdclark@gmail.com>2016-07-16 16:29:34 +0200
commite73a8569731aebd21832b34bf7ce8121dec2e98d (patch)
tree50baafbc3ede3a81006eb050298ce800944e677e /mm/hugetlb.c
parentdrm/msm/hdmi: Delete an unnecessary check before the function call "kfree" (diff)
downloadlinux-e73a8569731aebd21832b34bf7ce8121dec2e98d.tar.xz
linux-e73a8569731aebd21832b34bf7ce8121dec2e98d.zip
drm/msm: Delete unnecessary checks before drm_gem_object_unreference_unlocked()
The drm_gem_object_unreference_unlocked() function tests whether its argument is NULL and then returns immediately. Thus the test around the calls is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions