]> 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)
commit81e377d4e3a31fee7f6180da74a76e62a64ae69a
treea10c4ce963ef78465541e673292f27b8f84d8a41
parent30cba7419b85a71833eb3ddcdc284a3109de9777
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