From: Peter Huewe Date: Mon, 13 May 2013 21:41:46 +0000 (+0200) Subject: staging/xgifb: Remove unnecessary cases in XGINew_SenseLCD X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~703 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcd1f16573e1975c8a78a29bbc68e483970d9bd8;p=pandora-kernel.git staging/xgifb: Remove unnecessary cases in XGINew_SenseLCD The switch statement sets the temp value to zero for certain cases and leaves it untouched for other cases -> all these other cases can be combined in the default case. Since an empty case containing only a break, it can be removed. The patch also removes the if statement, as it uses the same value as the switch for comparison, and includes the code into the switch. Signed-off-by: Peter Huewe Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed