From: Lars-Peter Clausen Date: Fri, 14 Jun 2013 11:16:52 +0000 (+0200) Subject: ASoC: dapm: Remove unnecessary loop X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~15^2~3^2~24^2~26^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58fee775b7a18a0174931af6174536560785d500;p=pandora-kernel.git ASoC: dapm: Remove unnecessary loop The condition 'i == item' is only true when, well, 'i' equals 'item'. So just use 'item' directly as the index into the array. Signed-off-by: Lars-Peter Clausen Signed-off-by: Mark Brown --- Reading git-diff-tree failed