]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitff7cb0836cc036a88969f14be7088d0e1c1c45ec
treefaffbb0e091671822234f567475221be44c12b21
parent9cb36b38161e790d8860471e656484738c6fd00e
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