[PATCH 1/4] GPU-DRM-Etnaviv: Delete unnecessary checks before two function calls

2016-07-22 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 22 Jul 2016 15:56:15 +0200 The functions drm_gem_object_unreference_unlocked() and vunmap() perform also input parameter validation. Thus the tests around their calls are not needed. This issue was detected by using the Coccinelle

[PATCH 1/4] GPU-DRM-Etnaviv: Delete unnecessary checks before two function calls

2016-07-22 Thread Sean Paul
On Fri, Jul 22, 2016 at 11:47 AM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Fri, 22 Jul 2016 15:56:15 +0200 > > The functions drm_gem_object_unreference_unlocked() and vunmap() perform > also input parameter validation. > Thus the tests around their calls are not needed. > > This