commit | 008d2d112cb8a743a87dfe41a67e11c0a4c73aa4 | [log] [tgz] |
---|---|---|
author | Michael Holzheu <holzheu@linux.vnet.ibm.com> | Thu Mar 26 15:24:51 2009 +0100 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Thu Mar 26 15:24:30 2009 +0100 |
tree | 1936f555595fe3b236137c2cf44a5230e7cc1af3 | |
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>