diff options
author | Michael Holzheu <holzheu@linux.vnet.ibm.com> | 2009-03-26 15:24:51 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2009-03-26 15:24:30 +0100 |
commit | 008d2d112cb8a743a87dfe41a67e11c0a4c73aa4 (patch) | |
tree | 1936f555595fe3b236137c2cf44a5230e7cc1af3 /arch/mips/lasat/setup.c | |
parent | 58ace9f2a8f1caa0303aa64079d3929be28a937a (diff) |
[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>
Diffstat (limited to 'arch/mips/lasat/setup.c')
0 files changed, 0 insertions, 0 deletions