powerpc/kernel: Remove nested if statements in rtas_initialize()
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Mon, 23 Jan 2017 22:49:52 +0000 (09:49 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 25 Jan 2017 02:34:20 +0000 (13:34 +1100)
commitdbecd5093043faa9da83c720ed0e08ec1a5b410e
tree039459d10db5af8ffe9ac53af29434bf5bd1a365
parentfb37e12896c1ba0407012fe8cdc0b054da063b6f
powerpc/kernel: Remove nested if statements in rtas_initialize()

This removes the unnecessary nested if statements in function
rtas_initialize(), to simplify the code. No functional changes
introduced.

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/rtas.c