s390: Delete unnecessary checks before the function call "debug_unregister"
authorMarkus Elfring <elfring@users.sourceforge.net>
Mon, 16 Nov 2015 13:45:40 +0000 (14:45 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 27 Nov 2015 08:24:16 +0000 (09:24 +0100)
commita6e975c5f8fd8652fc5ab754236ec155a228d452
treee8b2f018da3b7fadda483f5f606235c293a17e38
parent69eea95c48857c9dfcac120d6acea43027627b28
s390: Delete unnecessary checks before the function call "debug_unregister"

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>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/chsc_sch.c
drivers/s390/cio/cio.c
drivers/s390/cio/qdio_debug.c
drivers/s390/crypto/zcrypt_api.c