]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit66476026075b160e74d8be7ad978ff4df7707030
tree039459d10db5af8ffe9ac53af29434bf5bd1a365
parentb86ff559e06dd8bd144175d986bce62088817019
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