linux/sound/soc/bcm
Pierre-Louis Bossart ce36242046
ASoC: bcm: cygnus_ssp: remove useless initialization
Cppcheck warning:

sound/soc/bcm/cygnus-ssp.c:1364:6: style: Redundant initialization for
'err'. The initialized value is overwritten before it is
read. [redundantInitialization]
 err = devm_snd_soc_register_component(dev, &cygnus_ssp_component,
     ^
sound/soc/bcm/cygnus-ssp.c:1313:10: note: err is initialized
 int err = -EINVAL;
         ^
sound/soc/bcm/cygnus-ssp.c:1364:6: note: err is overwritten
 err = devm_snd_soc_register_component(dev, &cygnus_ssp_component,
     ^

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210326215927.936377-5-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-03-31 18:03:17 +01:00
..
bcm63xx-i2s-whistler.c ASoC: bcm: sync parameter naming (rate/sample_bits) 2021-01-21 12:37:47 +00:00
bcm63xx-i2s.h ASoC: brcm: Add DSL/PON SoC audio driver 2020-03-13 16:01:35 +00:00
bcm63xx-pcm-whistler.c ASoC: bcm: use asoc_substream_to_rtd() 2020-07-23 19:07:37 +01:00
bcm2835-i2s.c ASoC: bcm: sync parameter naming (rate/sample_bits) 2021-01-21 12:37:47 +00:00
cygnus-pcm.c ASoC: bcm: cygnus: Use managed DMA buffer allocation 2021-01-13 11:36:16 +00:00
cygnus-ssp.c ASoC: bcm: cygnus_ssp: remove useless initialization 2021-03-31 18:03:17 +01:00
cygnus-ssp.h ASoC: cygnus: Add Cygnus audio DAI driver 2016-05-31 17:50:42 +01:00
Kconfig ASoC: brcm: Add DSL/PON SoC audio driver 2020-03-13 16:01:35 +00:00
Makefile ASoC: brcm: Add DSL/PON SoC audio driver 2020-03-13 16:01:35 +00:00