ASoC: mediatek: mt8365: remove unused mt8365_i2s_hd_str
authorArnd Bergmann <arnd@arndb.de>
Sat, 7 Sep 2024 20:00:38 +0000 (20:00 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 9 Sep 2024 11:29:44 +0000 (12:29 +0100)
commit876dec03fdfb7eeb592d01a95ba292c9e53b324b
treec9153fc209498afc59cb6c5baafe67f7340c2ebf
parent6b31d6a4ca3b4d8abfb39127130889f9a9a38aa1
ASoC: mediatek: mt8365: remove unused mt8365_i2s_hd_str

The mt8365_i2s_enum and mt8365_i2s_hd_str variables are not
used anywhere, but cause a warning when building with C=1
or when enabling -Wunused-const-variable:

sound/soc/mediatek/mt8365/mt8365-dai-i2s.c:781:27: error: 'mt8365_i2s_hd_str' defined but not used [-Werror=unused-const-variable=]
  781 | static const char * const mt8365_i2s_hd_str[] = {
      |                           ^~~~~~~~~~~~~~~~~

Remove these for the moment, they can be added back if a
user comes up.

Fixes: 402bbb13a195 ("ASoC: mediatek: mt8365: Add I2S DAI support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Link: https://patch.msgid.link/20240907200053.3027553-1-arnd@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8365/mt8365-dai-i2s.c