[PATCH] drm/ast: Delete an unnecessary check before drm_gem_object_unreference_unlocked()

2016-07-18 Thread Daniel Vetter
On Sat, Jul 16, 2016 at 10:04:34AM +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 16 Jul 2016 09:54:22 +0200 > > The drm_gem_object_unreference_unlocked() function tests whether > its argument is NULL and then returns immediately. > Thus the test around the call is not

[PATCH] drm/ast: Delete an unnecessary check before drm_gem_object_unreference_unlocked()

2016-07-16 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 16 Jul 2016 09:54:22 +0200 The drm_gem_object_unreference_unlocked() 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