staging: xgifb: ReadVBIOSTablData(): avoid duplicating code
commitb8e719754f9a4f12d61e105d0cdbec1a583fd1c8
authorAaro Koskinen <aaro.koskinen@iki.fi>
Mon, 5 Dec 2011 22:10:30 +0000 (6 00:10 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 8 Dec 2011 20:26:00 +0000 (8 12:26 -0800)
tree17c63bc6f240cd71f071703384e6780b4b79cb34
parent106e7cf3bd3e8112d9f36fa8a94cb12042b15bec
staging: xgifb: ReadVBIOSTablData(): avoid duplicating code

If the count (j) is 0xff, just do the loop once.

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