From: Ryo Tsutsui Date: Sun, 31 Mar 2013 18:19:09 +0000 (+0100) Subject: ASoC: dapm: Remove redundant clear_walk() for supply widgets X-Git-Tag: v3.10-rc1~14^2~53^2~19^2~1 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=0e669246dcd11ad3ecb33a6170a963c4badaa10b;p=linux-block.git ASoC: dapm: Remove redundant clear_walk() for supply widgets We already clear the walked state in dapm_widget_power_check(), no need to do it again. Signed-off-by: Ryo Tsutsui Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 687784463db9..7a61b5cc2d4f 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c @@ -1165,8 +1165,6 @@ static int dapm_supply_check_power(struct snd_soc_dapm_widget *w) return 1; } - dapm_clear_walk(w->dapm); - return 0; }