]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6bd32612cc5fb9e04d88cfcee0b5f96c47e98223
treea10c4ce963ef78465541e673292f27b8f84d8a41
parenta65a21f2153393709ea3ca838e6f3428247d88e2
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