diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-08-15 05:04:04 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-08-15 10:05:18 -0400 |
commit | 9d22142c9b1ec8612b880121dd0bc27311cbb2b5 (patch) | |
tree | 6555c01f4b03f583b862ad7d2fc2552cfba27923 /sound | |
parent | bed7f1469f08fd123cdec7a351ef0d875feadcf6 (diff) |
ASoC: max98371: remove unused variable 'max98371_noload_gain_tlv'
sound/soc/codecs/max98371.c:157:35: warning:
max98371_noload_gain_tlv defined but not used [-Wunused-const-variable=]
It is 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/20190815090404.72752-1-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/max98371.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sound/soc/codecs/max98371.c b/sound/soc/codecs/max98371.c index ce801489a86d..dfee05f985bd 100644 --- a/sound/soc/codecs/max98371.c +++ b/sound/soc/codecs/max98371.c | |||
@@ -154,10 +154,6 @@ static const DECLARE_TLV_DB_RANGE(max98371_gain_tlv, | |||
154 | 8, 10, TLV_DB_SCALE_ITEM(400, 100, 0) | 154 | 8, 10, TLV_DB_SCALE_ITEM(400, 100, 0) |
155 | ); | 155 | ); |
156 | 156 | ||
157 | static const DECLARE_TLV_DB_RANGE(max98371_noload_gain_tlv, | ||
158 | 0, 11, TLV_DB_SCALE_ITEM(950, 100, 0), | ||
159 | ); | ||
160 | |||
161 | static const DECLARE_TLV_DB_SCALE(digital_tlv, -6300, 50, 1); | 157 | static const DECLARE_TLV_DB_SCALE(digital_tlv, -6300, 50, 1); |
162 | 158 | ||
163 | static const struct snd_kcontrol_new max98371_snd_controls[] = { | 159 | static const struct snd_kcontrol_new max98371_snd_controls[] = { |