mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
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: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com> Link: https://lore.kernel.org/r/20220520211719.607543-17-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
0c57064e3f
commit
7188b28f66
@ -13,7 +13,7 @@
|
||||
static struct snd_soc_dapm_widget *
|
||||
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;
|
||||
|
||||
snd_soc_dapm_widget_for_each_source_path(w, p) {
|
||||
|
Loading…
Reference in New Issue
Block a user