staging/xgifb: Simplify XGISetModeNew
authorPeter Huewe <peterhuewe@gmx.de>
Sun, 3 Feb 2013 21:54:39 +0000 (22:54 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Feb 2013 18:46:28 +0000 (10:46 -0800)
commite44adfdb6740f5673612a3060b8d3120ccafd5d1
tree902e51359155fe7eb1958a77e97c9f8486ac1d64
parent06cc47b90b498dd4e6e33ec5fad276d1b1c68e43
staging/xgifb: Simplify XGISetModeNew

This patch simplifies the code of XGISetModeNew by reordering the
if/else if/case conditions when both branches are doing exactly the
same.

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