aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-08-13 10:41:22 -0400
committerMark Brown <broonie@kernel.org>2019-08-15 10:03:55 -0400
commitd59170b42610c7cbc6e96431ca8357a8bdbf592b (patch)
tree6ffc7cb1bb8bdeba7839bffd5eb48b9a9fa8f6bf /sound
parent57c3ed42f52cdc51f416c93b19708ef6ceb4a00b (diff)
ASoC: mediatek: mt8183-mt6358-ts3a227-max98357: remove unused variables
sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c:50:1: warning: mt8183_mt6358_ts3a227_max98357_dapm_widgets defined but not used [-Wunused-const-variable=] sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c:55:1: warning: mt8183_mt6358_ts3a227_max98357_dapm_routes defined but not used [-Wunused-const-variable=] They are never used, so can be removed. Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: YueHaibing <yuehaibing@huawei.com> Link: https://lore.kernel.org/r/20190813144122.67676-1-yuehaibing@huawei.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c b/sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c
index 53f54078f78c..272766c1b859 100644
--- a/sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c
+++ b/sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c
@@ -46,16 +46,6 @@ static int mt8183_i2s_hw_params_fixup(struct snd_soc_pcm_runtime *rtd,
46 return 0; 46 return 0;
47} 47}
48 48
49static const struct snd_soc_dapm_widget
50mt8183_mt6358_ts3a227_max98357_dapm_widgets[] = {
51 SND_SOC_DAPM_OUTPUT("IT6505_8CH"),
52};
53
54static const struct snd_soc_dapm_route
55mt8183_mt6358_ts3a227_max98357_dapm_routes[] = {
56 {"IT6505_8CH", NULL, "TDM"},
57};
58
59static int 49static int
60mt8183_mt6358_ts3a227_max98357_bt_sco_startup( 50mt8183_mt6358_ts3a227_max98357_bt_sco_startup(
61 struct snd_pcm_substream *substream) 51 struct snd_pcm_substream *substream)