diff options
author | Peter Huewe <peterhuewe@gmx.de> | 2013-05-13 21:41:46 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-16 23:02:34 (GMT) |
commit | bcd1f16573e1975c8a78a29bbc68e483970d9bd8 (patch) | |
tree | ccda43989d0b9b3b1f417817a28bc06d7badc116 /block | |
parent | fb70b191ee8fc29264791b0c25ec2925b98bb0e3 (diff) | |
download | linux-fsl-qoriq-bcd1f16573e1975c8a78a29bbc68e483970d9bd8.tar.xz |
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 <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions