staging: xgifb: vb_setmode: reduce if nesting in XGI_SetLockRegs()
authorAaro Koskinen <aaro.koskinen@iki.fi>
Sun, 27 Nov 2011 21:03:19 +0000 (23:03 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Nov 2011 21:20:13 +0000 (06:20 +0900)
commit6596fc06e48cdd2a3d47bb3e9a58d554abaad40f
treebb9145f0b58018a9b3c2d6e4fbba5a10bb2d6325
parentebe33024101782b6325dab289e6471a61be923ee
staging: xgifb: vb_setmode: reduce if nesting in XGI_SetLockRegs()

Eliminate unnecessary nesting levels by rearranging code and conditions.
The resulting code should be still identical.

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