staging/xgifb: Consolidate if/else if with identical code branches
authorPeter Huewe <peterhuewe@gmx.de>
Fri, 15 Feb 2013 19:37:09 +0000 (20:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Feb 2013 23:12:39 +0000 (15:12 -0800)
commit66b43eb25759b5bf76465c97107dc45b73eeb0e3
tree3de196fe9c26bb12d6a0f28cc6e8a3011b3d6d70
parent4e9b5e2b8b7f1a9116d760a25f8ea98b3d5b64f4
staging/xgifb: Consolidate if/else if with identical code branches

Both branches of this if statement execute the same code.
Thus we can || them together and remove code duplication

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xgifb/vb_setmode.c