On 08/10/15 14:58, Gavin Shan wrote:
This cleans up pseries_eeh_get_state(), no functional changes:

    * Return EEH_STATE_NOT_SUPPORT early when the 2nd RTAS output
      argument is zero to avoid nested if statements.
    * Skip clearing bits in the PE state represented by variable
      "result" to simplify the code.

Signed-off-by: Gavin Shan <[email protected]>

Much easier to follow!

Reviewed-by: Andrew Donnellan <[email protected]>

--
Andrew Donnellan              Software Engineer, OzLabs
[email protected]  Australia Development Lab, Canberra
+61 2 6201 8874 (work)        IBM Australia Limited

_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to