summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm2000.c
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2021-03-12 12:22:33 -0600
committerMark Brown <broonie@kernel.org>2021-03-18 13:50:43 +0000
commit3c011ef344cddd15be0a9b2256f7886f6b5eeec5 (patch)
treeb741a719af81a423f89ebee472e3caf5f61b9d50 /sound/soc/codecs/wm2000.c
parent997994d7e6fab713d1c03843c9698919e64cc135 (diff)
downloadlinux-3c011ef344cddd15be0a9b2256f7886f6b5eeec5.tar.gz
linux-3c011ef344cddd15be0a9b2256f7886f6b5eeec5.tar.bz2
linux-3c011ef344cddd15be0a9b2256f7886f6b5eeec5.zip
ASoC: hdmi-codec: remove useless initialization
Fix cppcheck warning: sound/soc/codecs/hdmi-codec.c:745:5: style: Redundant initialization for 'cf'. The initialized value is overwritten before it is read. [redundantInitialization] cf = dai->playback_dma_data; ^ sound/soc/codecs/hdmi-codec.c:738:31: note: cf is initialized struct hdmi_codec_daifmt *cf = dai->playback_dma_data; ^ sound/soc/codecs/hdmi-codec.c:745:5: note: cf is overwritten cf = dai->playback_dma_data; ^ Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20210312182246.5153-11-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/wm2000.c')
0 files changed, 0 insertions, 0 deletions