]> git.karo-electronics.de Git - linux-beck.git/commit
GPU-DRM: Delete unnecessary checks before drm_property_unreference_blob()
authorMarkus Elfring <elfring@users.sourceforge.net>
Fri, 6 Nov 2015 11:03:46 +0000 (12:03 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 24 Nov 2015 10:41:52 +0000 (11:41 +0100)
commit5f911905054a64cf8c7871fddd33f4af74f07a17
tree4f4ee9a444261b3939863eb6ca65db007cc8fcc8
parent36af4ca704897f56b6b168c73d964030fd4ce359
GPU-DRM: Delete unnecessary checks before drm_property_unreference_blob()

The drm_property_unreference_blob() function tests whether its argument
is NULL and then returns immediately.
Thus the tests around the calls are not needed.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Link: http://patchwork.freedesktop.org/patch/msgid/563C8B3E.405@users.sourceforge.net
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_atomic.c
drivers/gpu/drm/drm_atomic_helper.c