lkml.org 
[lkml]   [2015]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] s390: Delete unnecessary checks before the function call "debug_unregister"
On Mon, Nov 16, 2015 at 03:15:17PM +0100, SF Markus Elfring wrote:
> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Mon, 16 Nov 2015 14:45:40 +0100
>
> The debug_unregister() function performs also input parameter validation.
> Thus the test around the calls is not needed.
>
> This issue was detected by using the Coccinelle software.
>
> Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
> ---
> drivers/s390/cio/chsc_sch.c | 3 +--
> drivers/s390/cio/cio.c | 9 +++------
> drivers/s390/cio/qdio_debug.c | 6 ++----
> drivers/s390/crypto/zcrypt_api.c | 6 ++----
> 4 files changed, 8 insertions(+), 16 deletions(-)

Applied, thanks!



\
 
 \ /
  Last update: 2015-11-16 16:41    [W:1.271 / U:2.040 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site