[v2,1/9] powerpc/eeh: Remove eeh_handle_event()

Michael Ellerman patch-notifications at ellerman.id.au
Thu Mar 29 01:13:25 AEDT 2018


On Mon, 2018-03-19 at 02:46:20 UTC, Sam Bobroff wrote:
> 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 at au1.ibm.com>
> Reviewed-by: Alexey Kardashevskiy <aik at ozlabs.ru>

Series applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/68701780712f7ddb2fa81032aa1b4a

cheers


More information about the Linuxppc-dev mailing list