]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
s390/vmcp: simplify vmcp_ioctl()
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 7 Aug 2017 13:16:16 +0000 (15:16 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 9 Aug 2017 13:09:39 +0000 (09:09 -0400)
commit307957b643493c1bc038d4e4b717871184f13ddf
treeabca2d2a1d79b8879e73ac87995d68a7b7572dca
parent4ae48c046814d8b0386883aeb9060b08f46a2ec1
s390/vmcp: simplify vmcp_ioctl()

vmcp_ioctl() has many different return statements and duplicates a lot
of mutex_unlock() calls. Simplify this so that only one return
statement and one mutex_unlock() call is left.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/vmcp.c