diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2016-09-26 19:25:28 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-09-27 12:21:36 -0400 |
commit | c7e9426a02699b9f0873e3c2bb383bcb1dd9ab19 (patch) | |
tree | a2ace372842a5c8b30ad961344eb4052b7844a01 /sound | |
parent | 98695eab3c2de34265ac797b1c057215f8e78a1a (diff) |
ASoC: wm8991: remove unused variable
This driver has some unused variables. They should be removed.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/wm8991.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm8991.c b/sound/soc/codecs/wm8991.c index 483b9535d366..9d4b6076e9a8 100644 --- a/sound/soc/codecs/wm8991.c +++ b/sound/soc/codecs/wm8991.c | |||
@@ -111,14 +111,12 @@ static bool wm8991_volatile(struct device *dev, unsigned int reg) | |||
111 | } | 111 | } |
112 | } | 112 | } |
113 | 113 | ||
114 | static const DECLARE_TLV_DB_LINEAR(rec_mix_tlv, -1500, 600); | ||
115 | static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(in_pga_tlv, -1650, 150, 0); | 114 | static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(in_pga_tlv, -1650, 150, 0); |
116 | static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(out_mix_tlv, -2100, 300, 0); | 115 | static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(out_mix_tlv, -2100, 300, 0); |
117 | static const SNDRV_CTL_TLVD_DECLARE_DB_RANGE(out_pga_tlv, | 116 | static const SNDRV_CTL_TLVD_DECLARE_DB_RANGE(out_pga_tlv, |
118 | 0x00, 0x2f, SNDRV_CTL_TLVD_DB_SCALE_ITEM(SNDRV_CTL_TLVD_DB_GAIN_MUTE, 0, 1), | 117 | 0x00, 0x2f, SNDRV_CTL_TLVD_DB_SCALE_ITEM(SNDRV_CTL_TLVD_DB_GAIN_MUTE, 0, 1), |
119 | 0x30, 0x7f, SNDRV_CTL_TLVD_DB_SCALE_ITEM(-7300, 100, 0), | 118 | 0x30, 0x7f, SNDRV_CTL_TLVD_DB_SCALE_ITEM(-7300, 100, 0), |
120 | ); | 119 | ); |
121 | static const DECLARE_TLV_DB_LINEAR(out_omix_tlv, -600, 0); | ||
122 | static const SNDRV_CTL_TLVD_DECLARE_DB_RANGE(out_dac_tlv, | 120 | static const SNDRV_CTL_TLVD_DECLARE_DB_RANGE(out_dac_tlv, |
123 | 0x00, 0xbf, SNDRV_CTL_TLVD_DB_SCALE_ITEM(-71625, 375, 1), | 121 | 0x00, 0xbf, SNDRV_CTL_TLVD_DB_SCALE_ITEM(-71625, 375, 1), |
124 | 0xc0, 0xff, SNDRV_CTL_TLVD_DB_SCALE_ITEM(0, 0, 0), | 122 | 0xc0, 0xff, SNDRV_CTL_TLVD_DB_SCALE_ITEM(0, 0, 0), |