From: Peter Huewe Date: Fri, 15 Feb 2013 19:37:13 +0000 (+0100) Subject: staging/xgifb: Remove duplicated code in loops. X-Git-Tag: v3.9-rc1~127^2~11 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=771f3eed631be02b08544fc46cdfd2558599cf5d;p=pandora-kernel.git staging/xgifb: Remove duplicated code in loops. Instead of calling the same function three times in a loop, multiply the loop counter by three. And since the value in DAC_TEST_PARMS is always the same we can use the value directly. Signed-off-by: Peter Huewe Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed