未验证 提交 7188b28f 编写于 作者: P Pierre-Louis Bossart 提交者: Mark Brown

ASoC: meson: remove useless initialization

cppcheck complains about invalid NULL dereferences but there's indeed
no need to initialize a loop variable.
Signed-off-by: NPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: NBard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: NPéter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20220520211719.607543-17-pierre-louis.bossart@linux.intel.comSigned-off-by: NMark Brown <broonie@kernel.org>
上级 0c57064e
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
static struct snd_soc_dapm_widget * static struct snd_soc_dapm_widget *
meson_codec_glue_get_input(struct snd_soc_dapm_widget *w) meson_codec_glue_get_input(struct snd_soc_dapm_widget *w)
{ {
struct snd_soc_dapm_path *p = NULL; struct snd_soc_dapm_path *p;
struct snd_soc_dapm_widget *in; struct snd_soc_dapm_widget *in;
snd_soc_dapm_widget_for_each_source_path(w, p) { snd_soc_dapm_widget_for_each_source_path(w, p) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册