[PATCH 2/5] staging/xgifb: Remove unnecessary cases in XGINew_SenseLCD

2013-05-13 Thread Peter Huewe
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

[PATCH 2/5] staging/xgifb: Remove unnecessary cases in XGINew_SenseLCD

2013-05-13 Thread Peter Huewe
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