diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-08-13 10:41:22 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-08-15 10:03:55 -0400 |
commit | d59170b42610c7cbc6e96431ca8357a8bdbf592b (patch) | |
tree | 6ffc7cb1bb8bdeba7839bffd5eb48b9a9fa8f6bf /sound | |
parent | 57c3ed42f52cdc51f416c93b19708ef6ceb4a00b (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.c | 10 |
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 | ||
49 | static const struct snd_soc_dapm_widget | ||
50 | mt8183_mt6358_ts3a227_max98357_dapm_widgets[] = { | ||
51 | SND_SOC_DAPM_OUTPUT("IT6505_8CH"), | ||
52 | }; | ||
53 | |||
54 | static const struct snd_soc_dapm_route | ||
55 | mt8183_mt6358_ts3a227_max98357_dapm_routes[] = { | ||
56 | {"IT6505_8CH", NULL, "TDM"}, | ||
57 | }; | ||
58 | |||
59 | static int | 49 | static int |
60 | mt8183_mt6358_ts3a227_max98357_bt_sco_startup( | 50 | mt8183_mt6358_ts3a227_max98357_bt_sco_startup( |
61 | struct snd_pcm_substream *substream) | 51 | struct snd_pcm_substream *substream) |