From: Pierre-Louis Bossart Date: Mon, 22 Aug 2022 18:42:35 +0000 (+0200) Subject: ASoC: hdmi-codec: remove unused definitions X-Git-Tag: v6.1-rc5~4^2~17^2~146^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c90d6054ff9d75bc185c48b798b745aa2c05236c;p=platform%2Fkernel%2Flinux-starfive.git ASoC: hdmi-codec: remove unused definitions cppcheck warning: sound/soc/codecs/hdmi-codec.c:24:16: style: struct member 'hdmi_codec_channel_ma`p_table::map' is never used. [unusedStructMember] unsigned char map; /* ALSA API channel map position */ ^ Signed-off-by: Pierre-Louis Bossart Reviewed-by: Bard Liao Reviewed-by: Kai Vehmanen Reviewed-by: Chao Song Link: https://lore.kernel.org/r/20220822184239.169757-2-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/hdmi-codec.c b/sound/soc/codecs/hdmi-codec.c index 5679102..863e679 100644 --- a/sound/soc/codecs/hdmi-codec.c +++ b/sound/soc/codecs/hdmi-codec.c @@ -20,10 +20,6 @@ #define HDMI_CODEC_CHMAP_IDX_UNKNOWN -1 -struct hdmi_codec_channel_map_table { - unsigned char map; /* ALSA API channel map position */ -}; - /* * CEA speaker placement for HDMI 1.4: *