Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1270286

Re: [PATCH] s390: Delete unnecessary checks before the function call "debug_unregister"

From Heiko Carstens <heiko.carstens@de.ibm.com>
Newsgroups linux.kernel
Subject Re: [PATCH] s390: Delete unnecessary checks before the function call "debug_unregister"
Date 2015-11-16 16:40 +0100
Message-ID <qvu2S-EC-3@gated-at.bofh.it> (permalink)
References (5 earlier) <mSsDN-4wa-61@gated-at.bofh.it> <mSsDN-4wa-63@gated-at.bofh.it> <mSsDN-4wa-65@gated-at.bofh.it> <mSsDN-4wa-33@gated-at.bofh.it> <qvsNs-8o3-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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!

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] s390: Delete unnecessary checks before the function call  "debug_unregister" SF Markus Elfring <elfring@users.sourceforge.net> - 2015-11-16 15:20 +0100
  Re: [PATCH] s390: Delete unnecessary checks before the function call  "debug_unregister" Heiko Carstens <heiko.carstens@de.ibm.com> - 2015-11-16 16:40 +0100

csiph-web