staging: xgifb: vb_setmode: reduce if nesting in XGI_GetVCLK2Ptr()
authorAaro Koskinen <aaro.koskinen@iki.fi>
Sun, 27 Nov 2011 21:03:20 +0000 (23:03 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Nov 2011 21:20:14 +0000 (06:20 +0900)
commit798b4da50fc7be5221bcb0ecd17f222e89327dc3
tree504b29cb97663fe65c0311b3f628e07e78e945a8
parent6596fc06e48cdd2a3d47bb3e9a58d554abaad40f
staging: xgifb: vb_setmode: reduce if nesting in XGI_GetVCLK2Ptr()

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