From: Peter Huewe Date: Sun, 3 Feb 2013 21:54:34 +0000 (+0100) Subject: staging/xgifb: Simplify XGI_SetSeqRegs X-Git-Tag: v3.9-rc1~127^2~148 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76a5899b0ceeaeda7b457b7f55cd258bc0c49c34;p=pandora-kernel.git staging/xgifb: Simplify XGI_SetSeqRegs Since SR[0] in the (readonly) XGI330_StandTable is always 0x01 we can skip or'ing with 0x01 and make the code simpler by removing the if statements. Since this function is the only user of the XGI330_StandTable we can also include the unconditional |= 0x20 into the input data and move the assignment to SR1 into the loop, which I prefer to start at 0. Signed-off-by: Peter Huewe Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed