Skip to content

Commit 4bc0575

Browse files
committed
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>
1 parent 97b1aa7 commit 4bc0575

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sound/soc/meson/meson-codec-glue.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
static struct snd_soc_dapm_widget *
1414
meson_codec_glue_get_input(struct snd_soc_dapm_widget *w)
1515
{
16-
struct snd_soc_dapm_path *p = NULL;
16+
struct snd_soc_dapm_path *p;
1717
struct snd_soc_dapm_widget *in;
1818

1919
snd_soc_dapm_widget_for_each_source_path(w, p) {

0 commit comments

Comments
 (0)