]> git.openfabrics.org - ~emulex/infiniband.git/commit
staging/xgifb: Remove unnecessary binary calculation in GetXG27FPBits
authorPeter Huewe <peterhuewe@gmx.de>
Mon, 13 May 2013 21:41:48 +0000 (23:41 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2013 23:02:34 +0000 (16:02 -0700)
commit986eb9fad5da8bc498eb9d15d61efae4c4c407c1
tree85fcc64f8386fddf5da95d063c4192f9754867b3
parent9195ba095d452ed1689570b938e9b5780b2b38a3
staging/xgifb: Remove unnecessary binary calculation in GetXG27FPBits

If temp <= 2 no other bits than the lowest two (0x03) can be set anyway
-> this operation can be removed.

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