summaryrefslogtreecommitdiffstats
path: root/net/batman-adv
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2021-03-26 22:59:14 +0100
committerMark Brown <broonie@kernel.org>2021-03-31 19:03:17 +0200
commitce36242046f272c7656f7b4c91ff7b4387f514b0 (patch)
tree4754ceb50291d75a8f2f1581780427b6a2fa44c7 /net/batman-adv
parentASoC: atmel: atmel-i2s: remove useless initialization (diff)
downloadlinux-ce36242046f272c7656f7b4c91ff7b4387f514b0.tar.xz
linux-ce36242046f272c7656f7b4c91ff7b4387f514b0.zip
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>
Diffstat (limited to 'net/batman-adv')
0 files changed, 0 insertions, 0 deletions