diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-08-08 16:35:07 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-08-09 19:12:39 +0200 |
commit | c86102a333f77dcd0f7ef20ba836c6f13f1a077a (patch) | |
tree | 69354f3a6a3484aebd1d8dcf2043b8c84ba2c475 | |
parent | ASoC: max98926: remove two unused variables (diff) | |
download | linux-c86102a333f77dcd0f7ef20ba836c6f13f1a077a.tar.xz linux-c86102a333f77dcd0f7ef20ba836c6f13f1a077a.zip |
ASoC: max9850: remove unused variable 'max9850_reg'
sound/soc/codecs/max9850.c:31:33: warning:
max9850_reg defined but not used [-Wunused-const-variable=]
It is not used since commit 068416620c0d ("ASoC:
max9850: Convert to direct regmap API usage")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190808143507.66788-1-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/codecs/max9850.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sound/soc/codecs/max9850.c b/sound/soc/codecs/max9850.c index f50ee8f5fe93..6f43748f9239 100644 --- a/sound/soc/codecs/max9850.c +++ b/sound/soc/codecs/max9850.c @@ -27,19 +27,6 @@ struct max9850_priv { unsigned int sysclk; }; -/* max9850 register cache */ -static const struct reg_default max9850_reg[] = { - { 2, 0x0c }, - { 3, 0x00 }, - { 4, 0x00 }, - { 5, 0x00 }, - { 6, 0x00 }, - { 7, 0x00 }, - { 8, 0x00 }, - { 9, 0x00 }, - { 10, 0x00 }, -}; - /* these registers are not used at the moment but provided for the sake of * completeness */ static bool max9850_volatile_register(struct device *dev, unsigned int reg) |