ASoC: hdmi-codec: remove unused definitions
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Mon, 22 Aug 2022 18:42:35 +0000 (20:42 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 31 Aug 2022 11:13:00 +0000 (12:13 +0100)
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 <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Chao Song <chao.song@intel.com>
Link: https://lore.kernel.org/r/20220822184239.169757-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/hdmi-codec.c

index 5679102..863e679 100644 (file)
 
 #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:
  *