aboutsummaryrefslogtreecommitdiff
path: root/sound/soc/codecs/hdmi-codec.c
diff options
context:
space:
mode:
authorGravatar Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> 2021-03-12 12:22:34 -0600
committerGravatar Mark Brown <broonie@kernel.org> 2021-03-18 13:50:44 +0000
commit9ad869fee5c598d914fa5cf8fb26f5e106e90956 (patch)
tree8bcb3640e12b436ab71a4a56a10d4c6ec04b0e78 /sound/soc/codecs/hdmi-codec.c
parentASoC: hdmi-codec: remove useless initialization (diff)
downloadlinux-9ad869fee5c598d914fa5cf8fb26f5e106e90956.tar.gz
linux-9ad869fee5c598d914fa5cf8fb26f5e106e90956.tar.bz2
linux-9ad869fee5c598d914fa5cf8fb26f5e106e90956.zip
ASoC: hdmi-codec: remove unused spk_mask member
fix cppcheck warning: sound/soc/codecs/hdmi-codec.c:25:16: style: struct member 'hdmi_codec_channel_map_table::spk_mask' is never used. [unusedStructMember] unsigned long spk_mask; /* speaker position bit mask */ ^ Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20210312182246.5153-12-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/hdmi-codec.c')
-rw-r--r--sound/soc/codecs/hdmi-codec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/hdmi-codec.c b/sound/soc/codecs/hdmi-codec.c
index 83e74ddccf59..1567ba196ab9 100644
--- a/sound/soc/codecs/hdmi-codec.c
+++ b/sound/soc/codecs/hdmi-codec.c
@@ -22,7 +22,6 @@
struct hdmi_codec_channel_map_table {
unsigned char map; /* ALSA API channel map position */
- unsigned long spk_mask; /* speaker position bit mask */
};
/*