]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/signal: Remove BUG_ON() in handler_signal functions
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Tue, 18 Aug 2020 17:19:19 +0000 (17:19 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 3 Dec 2020 14:01:12 +0000 (01:01 +1100)
commit6b2e57a37c8c1f7f415874ed1be03110730012b0
tree6f94c10599bf0a65581fc83186230dbe1dd5088e
parent5bcc72f4e8dd25d99356e4dd55b0930cd25ad541
powerpc/signal: Remove BUG_ON() in handler_signal functions

There is already the same BUG_ON() check in do_signal() which
is the only caller of handle_rt_signal64() handle_rt_signal32() and
handle_signal32().

Remove those three redundant BUG_ON().

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/3582e10a341d523c9c3f1ac925c3aaefc9d9293d.1597770847.git.christophe.leroy@csgroup.eu
arch/powerpc/kernel/signal_32.c
arch/powerpc/kernel/signal_64.c