]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
GPU-DRM: Delete an unnecessary check before drm_property_unreference_blob()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 5 Jul 2015 19:55:10 +0000 (21:55 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 6 Jul 2015 06:53:19 +0000 (08:53 +0200)
commitec530829ed064bc63d260f309e3ef88e0764132b
tree6b949ef6cf1c331c1adebd5c5e602223e99822d1
parenta3d1d001c9c583c79b1d9ab20f0a24333e35a3f8
GPU-DRM: Delete an unnecessary check before drm_property_unreference_blob()

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

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Reviewed-by: Zhao Junwang <zhjwpku@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_crtc.c