powerpc/eeh: Remove eeh_handle_event()
authorSam Bobroff <sam.bobroff@au1.ibm.com>
Mon, 19 Mar 2018 02:46:20 +0000 (13:46 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 27 Mar 2018 12:44:57 +0000 (23:44 +1100)
commit68701780712f7ddb2fa81032aa1b4a949949ddf8
tree0763f77f2bff906b5d53b961a675413239ca85aa
parentd41ce7b1bcc3e1d02cc9da3b83c0fe355fcb68e0
powerpc/eeh: Remove eeh_handle_event()

The function eeh_handle_event(pe) does nothing other than switching
between calling eeh_handle_normal_event(pe) and
eeh_handle_special_event(). However it is only called in two places,
one where pe can't be NULL and the other where it must be NULL (see
eeh_event_handler()) so it does nothing but obscure the flow of
control.

So, remove it.

Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/eeh_event.h
arch/powerpc/kernel/eeh_driver.c
arch/powerpc/kernel/eeh_event.c