From: Peter Huewe Date: Sun, 3 Feb 2013 21:54:37 +0000 (+0100) Subject: staging/xgifb: Remove unnecessary bitshifts in XGI_SetCRT1ModeRegs X-Git-Tag: v3.9-rc1~127^2~145 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d1c2a9b289d14ae96b98d33895571f9613ca4f6;p=pandora-kernel.git staging/xgifb: Remove unnecessary bitshifts in XGI_SetCRT1ModeRegs Since data can only be 0x0000, 0x0035 or 0x0048 we can simply skip the bit shifting and masking as data & 0xFF is always equal to data and data & 0xFF00 is always 0. So we simply use data and 0 directly and save the assignment. Signed-off-by: Peter Huewe Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed