[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151116153019.GD4069@osiris>
Date: Mon, 16 Nov 2015 16:30:19 +0100
From: Heiko Carstens <heiko.carstens@...ibm.com>
To: SF Markus Elfring <elfring@...rs.sourceforge.net>
Cc: Ingo Tuchscherer <ingo.tuchscherer@...ibm.com>,
Martin Schwidefsky <schwidefsky@...ibm.com>,
Peter Oberparleiter <oberpar@...ux.vnet.ibm.com>,
Sebastian Ott <sebott@...ux.vnet.ibm.com>,
linux-s390@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org,
Julia Lawall <julia.lawall@...6.fr>
Subject: Re: [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@...rs.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@...rs.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!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists