OSDN Git Service

powerpc/traps: remove redundant in_interrupt panic in die()
authorChristophe Leroy <christophe.leroy@c-s.fr>
Mon, 15 Oct 2018 07:38:10 +0000 (07:38 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 18 Oct 2018 13:56:17 +0000 (00:56 +1100)
commitbd03fd84a53ac9ddaeb0a0fc4c4c9836e12f3ab9
treeb1a15ea0c7a312da328da941bd1110d1d339acd7
parentf1f208e54d08ccf00121c700a9bb1fe3e55b3a51
powerpc/traps: remove redundant in_interrupt panic in die()

do_exit() already includes a test to panic() is in_interrupt()

This patch removes powerpc one which is redundant.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/traps.c