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 <gws...@linux.vnet.ibm.com>

Much easier to follow!

Reviewed-by: Andrew Donnellan <andrew.donnel...@au1.ibm.com>

--
Andrew Donnellan              Software Engineer, OzLabs
andrew.donnel...@au1.ibm.com  Australia Development Lab, Canberra
+61 2 6201 8874 (work)        IBM Australia Limited

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to