meta name='generator' content='cgit v1.2.3-54-g00ecf'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2016-07-22 08:28:31 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-07-22 10:27:59 +0200
commit76e4c327ea51d0da47938e343ef27b988bc5c659 (patch)
tree34949cef01cf2edc7f158ea3e34f94caab60aad2
parente8d3ef02787fc72996cfb423180dc79764c239fa (diff)
GPU-DRM-OMAP: Delete unnecessary checks before two function calls
The following functions test whether their argument is NULL and then return immediately. * backlight_device_unregister * drm_gem_object_unreference_unlocked 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: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/72ff4670-4f3d-c7ed-4f37-e49f2bbc7aba@users.sourceforge.net