From: Daniel Lezcano Date: Tue, 24 Apr 2012 14:05:36 +0000 (+0200) Subject: ARM: OMAP3: cpuidle - simplify next_valid_state X-Git-Tag: omap-cleanup-cpuidle-for-v3.5^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e92a45868150c7c79cd1cf2fa26ef42597623a8c;p=pandora-kernel.git ARM: OMAP3: cpuidle - simplify next_valid_state Simplify the indentation by removing the useless 'else' statement. Remove the first loop for the 'idx' search as we have it already with the 'index' passed as parameter. Signed-off-by: Daniel Lezcano Reviewed-by: Jean Pihet Reviewed-by: Santosh Shilimkar Tested-by: Santosh Shilimkar Tested-by: Kevin Hilman Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed