staging/xgifb: Remove uneccessary/simply if in XGINew_GetXG20DRAMType
authorPeter Huewe <peterhuewe@gmx.de>
Mon, 13 May 2013 21:41:45 +0000 (23:41 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2013 23:02:33 +0000 (16:02 -0700)
commitfb70b191ee8fc29264791b0c25ec2925b98bb0e3
tree82e0da26aee41be3518b92bfcba608ba3cf12d3e
parente99e3d0018891908985640acc8bd23c8ebabca89
staging/xgifb: Remove uneccessary/simply if in XGINew_GetXG20DRAMType

Instead of storing the value in a temp variable, anding it with 1 and
assign data conditionally we can assign the value directly.

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