staging: xgifb: XGI_SetCRT1VCLK(): avoid copy-paste
authorAaro Koskinen <aaro.koskinen@iki.fi>
Wed, 29 May 2013 20:59:05 +0000 (23:59 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2013 11:55:49 +0000 (20:55 +0900)
commitb750f51661695b627c2ccc141913d64268fe8b38
treea10c4ce963ef78465541e673292f27b8f84d8a41
parentb0b4a8a126db9317b6e701af334ff114a224a9d6
staging: xgifb: XGI_SetCRT1VCLK(): avoid copy-paste

Avoid copy-pasted code in if branches by rearranging the checks.

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