staging/xgifb: Consolidate if/else for 'identical' branches
authorPeter Huewe <peterhuewe@gmx.de>
Mon, 4 Feb 2013 23:29:46 +0000 (00:29 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Feb 2013 19:16:22 +0000 (11:16 -0800)
commit826215d98f49bce6ca6bf69f3b54a0d58fc89c99
treefaffbb0e091671822234f567475221be44c12b21
parent1504ecbeecfb206179e39d66d7f4d4af542ec45c
staging/xgifb: Consolidate if/else for 'identical' branches

Since XGI_LCDDesStruct is fully contained in XGI330_LCDDataDesStruct2
and the offsets for the first members is identical we can consolidate
the if/else branches here and use XGI330_LCDDataDesStruct2 for
everything.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xgifb/vb_setmode.c