]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[S390] ipl: Improve checking logic and remove switch defaults.
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>
Thu, 26 Mar 2009 14:24:51 +0000 (15:24 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 26 Mar 2009 14:24:30 +0000 (15:24 +0100)
commit008d2d112cb8a743a87dfe41a67e11c0a4c73aa4
tree1936f555595fe3b236137c2cf44a5230e7cc1af3
parent58ace9f2a8f1caa0303aa64079d3929be28a937a
[S390] ipl: Improve checking logic and remove switch defaults.

A code analysis tool reported two warnings:
"The expression `ipl_info.type == IPL_TYPE_FCP' is true whenever evaluated."
and "Default is not possible". This patch improves the corresponding if
statement logic and removes the unnecessary switch defaults.

Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/ipl.c