From: Michael Holzheu Date: Thu, 26 Mar 2009 14:24:51 +0000 (+0100) Subject: [S390] ipl: Improve checking logic and remove switch defaults. X-Git-Tag: v2.6.30-rc1~659^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=008d2d112cb8a743a87dfe41a67e11c0a4c73aa4;p=pandora-kernel.git [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 Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed