RE: [PATCH 08/17] ASoC: sti: sti_uniperif: add missing error check

2021-03-29 Thread Arnaud POULIQUEN
av Kysela ; Takashi Iwai > Subject: [PATCH 08/17] ASoC: sti: sti_uniperif: add missing error check > > cppcheck warning: > > sound/soc/sti/sti_uniperif.c:490:6: style: Variable 'ret' is reassigned a > value > before the old one has been used. [redundantAssignment]

[PATCH 08/17] ASoC: sti: sti_uniperif: add missing error check

2021-03-26 Thread Pierre-Louis Bossart
cppcheck warning: sound/soc/sti/sti_uniperif.c:490:6: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] ret = devm_snd_soc_register_component(>dev, ^ sound/soc/sti/sti_uniperif.c:486:6: note: ret is assigned ret =