linux/sound/soc/atmel
Pierre-Louis Bossart 6692dc07fa
ASoC: atmel: atmel-i2s: remove useless initialization
Cppcheck complains:

sound/soc/atmel/atmel-i2s.c:628:6: style: Redundant initialization for 'err'. The initialized value is overwritten before it is read. [redundantInitialization]
 err = devm_request_irq(&pdev->dev, irq, atmel_i2s_interrupt, 0,
     ^
sound/soc/atmel/atmel-i2s.c:598:10: note: err is initialized
 int err = -ENXIO;
         ^
sound/soc/atmel/atmel-i2s.c:628:6: note: err is overwritten
 err = devm_request_irq(&pdev->dev, irq, atmel_i2s_interrupt, 0,
     ^

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Link: https://lore.kernel.org/r/20210326215927.936377-4-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-03-31 18:03:16 +01:00
..
atmel_ssc_dai.c ASoC: atmel: fix kernel-doc 2020-07-09 21:56:39 +01:00
atmel_ssc_dai.h ASoC: atmel_ssc_dai: Remove wrong spinlock usage 2019-09-18 11:12:24 +01:00
atmel_wm8904.c ASoC: atmel: use asoc_substream_to_rtd() 2020-07-23 19:07:33 +01:00
atmel-classd.c ASoC: atmel: fix shadowed variable 2021-03-31 18:03:15 +01:00
atmel-classd.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
atmel-i2s.c ASoC: atmel: atmel-i2s: remove useless initialization 2021-03-31 18:03:16 +01:00
atmel-pcm-dma.c ASoC: atmel-pcm: remove unnecessary include 2020-09-30 16:12:13 +01:00
atmel-pcm-pdc.c ASoC: atmel-pdc: Use managed DMA buffer allocation 2021-01-13 11:36:15 +00:00
atmel-pcm.h ASoC: atmel: atmel-pcm-dma.c: use devm_snd_dmaengine_pcm_register() 2019-06-28 15:08:38 +01:00
atmel-pdmic.c ASoC: atmel: use asoc_substream_to_rtd() 2020-07-23 19:07:33 +01:00
atmel-pdmic.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig ASoC: mchp-i2s-mcc: Add compatible for SAMA7G5 2021-03-10 13:08:36 +00:00
Makefile ASoC: mchp-spdifrx: add driver for SPDIF RX 2020-10-02 20:45:35 +01:00
mchp-i2s-mcc.c ASoC: mchp-i2s-mcc: Add FIFOs support 2021-03-10 13:08:39 +00:00
mchp-spdifrx.c ASoC: mchp-spdifrx: fix spelling mistake "overrrun" -> "overrun" 2020-10-07 13:28:00 +01:00
mchp-spdiftx.c ASoC: mchp-spdiftx: Do not set Validity bit(s) 2020-11-04 17:50:22 +00:00
mikroe-proto.c ASoC: atmel: use asoc_rtd_to_cpu() / asoc_rtd_to_codec() macro for DAI pointer 2020-03-27 14:44:31 +00:00
sam9g20_wm8731.c ASoC: atmel: use asoc_rtd_to_cpu() / asoc_rtd_to_codec() macro for DAI pointer 2020-03-27 14:44:31 +00:00
sam9x5_wm8731.c ASoC: atmel: use asoc_rtd_to_cpu() / asoc_rtd_to_codec() macro for DAI pointer 2020-03-27 14:44:31 +00:00
tse850-pcm5142.c ASoC: atmel: tse850-pcm5142: consider CPU-Platform possibility 2019-06-28 15:10:51 +01:00