[PATCH 1/1] GPU-DRM-MSM: Deletion of unnecessary checks before two function calls

2014-12-01 Thread Thierry Reding
On Tue, Nov 25, 2014 at 02:33:53PM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Tue, 25 Nov 2014 14:30:28 +0100 > > The functions framebuffer_release() and vunmap() perform also input > parameter validation. Thus the test around the call is not needed. > > This issue was detect

[PATCH 1/1] GPU-DRM-MSM: Deletion of unnecessary checks before two function calls

2014-12-01 Thread Rob Clark
btw, I have these two queued up on msm-next, thanks BR, -R On Tue, Nov 25, 2014 at 8:33 AM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Tue, 25 Nov 2014 14:30:28 +0100 > > The functions framebuffer_release() and vunmap() perform also input > parameter validation. Thus the test aroun

[PATCH 1/1] GPU-DRM-MSM: Deletion of unnecessary checks before two function calls

2014-12-01 Thread Rob Clark
On Mon, Dec 1, 2014 at 11:04 AM, Thierry Reding wrote: > On Tue, Nov 25, 2014 at 02:33:53PM +0100, SF Markus Elfring wrote: >> From: Markus Elfring >> Date: Tue, 25 Nov 2014 14:30:28 +0100 >> >> The functions framebuffer_release() and vunmap() perform also input >> parameter validation. Thus the

[PATCH 1/1] GPU-DRM-MSM: Deletion of unnecessary checks before two function calls

2014-11-25 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 25 Nov 2014 14:30:28 +0100 The functions framebuffer_release() and vunmap() perform also input parameter validation. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers