staging: xgifb: use "else if"
authorAaro Koskinen <aaro.koskinen@iki.fi>
Mon, 10 Sep 2012 21:15:27 +0000 (00:15 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Sep 2012 22:48:17 +0000 (15:48 -0700)
commitd3ae5762c6f37f64f222c6a4027774c8077388f1
treec831fac50cab5449c54cec79c295a630b04131c6
parent14f7c11187ae5b128d5fc4d01b348cd6b44fc538
staging: xgifb: use "else if"

Use "else if" when possible to reduce nesting.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xgifb/XGI_main_26.c
drivers/staging/xgifb/vb_setmode.c