[PATCH 4/9] powerpc/eeh: Remove misleading test in eeh_handle_normal_event()

Russell Currey ruscur at russell.cc
Tue Mar 6 11:56:40 AEDT 2018

On Tue, 2018-03-06 at 10:59 +1100, Sam Bobroff wrote:
> Remove a test that checks if "frozen_bus" is NULL, because it cannot
> have changed since it was tested at the start of the function and so
> must be true here.

It could potentially be modified since it gets passed into
eeh_reset_device() but it doesn't look like it does anywhere.

> Signed-off-by: Sam Bobroff <sam.bobroff at au1.ibm.com>

Reviewed-by: Russell Currey <ruscur at russell.cc>

More information about the Linuxppc-dev mailing list