summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorPeter Huewe <peterhuewe@gmx.de>2013-05-13 21:41:46 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-16 23:02:34 (GMT)
commitbcd1f16573e1975c8a78a29bbc68e483970d9bd8 (patch)
treeccda43989d0b9b3b1f417817a28bc06d7badc116 /block
parentfb70b191ee8fc29264791b0c25ec2925b98bb0e3 (diff)
downloadlinux-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