]> git.baikalelectronics.ru Git - kernel.git/commit
drm/atomic: Delete an unnecessary check before drm_property_unreference_blob()
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 20 Jul 2016 15:54:32 +0000 (17:54 +0200)
committerSean Paul <seanpaul@chromium.org>
Wed, 20 Jul 2016 17:23:39 +0000 (13:23 -0400)
commitac01448dff585f6a8d6350db7791cf0c6d8495e4
tree4037f0b7eae01286c55abef5f008685542e98399
parent1a643232bb0ac972a0ba8c1d246ae33b6a644b11
drm/atomic: 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>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/aa4cd508-38c3-78d7-a9f2-70e3b06a8fb5@users.sourceforge.net
drivers/gpu/drm/drm_atomic.c