staging/xgifb: Remove redundant if statement
commit5fc699f6089913e3a691209243bf6bc2a6178ddd
authorPeter Huewe <peterhuewe@gmx.de>
Sun, 3 Feb 2013 03:08:45 +0000 (3 04:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Feb 2013 01:26:14 +0000 (3 19:26 -0600)
tree299ab12904159fbdd3e1d775f94893af077f509d
parenta9e29e6d410f492ccefbf3fdeb58d0193ec343f6
staging/xgifb: Remove redundant if statement

The code checks twice for if (pVBInfo->VBInfo & SetCRT2ToTV) without any
changes in between -> we can remove the second check.
And while at it we can also save the temp variable and use tempbx
directly.

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