diff options
author | Dan Murphy <dmurphy@ti.com> | 2020-09-23 15:26:00 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-09-23 19:48:03 +0200 |
commit | 3121420cf9b4db7f2bafcdc0e562f60779bf365d (patch) | |
tree | 0a952e9261c7767809580644e5d5f397a19714f0 /sound/soc/codecs/tas2770.h | |
parent | ASoC: tas2770: Remove ti,asi-format code (diff) | |
download | linux-3121420cf9b4db7f2bafcdc0e562f60779bf365d.tar.xz linux-3121420cf9b4db7f2bafcdc0e562f60779bf365d.zip |
ASoC: tas2770: Remove unused variables
Remove unused variables in the private struct and the code as these
variables are initially set and then there is no additional code
utilizing these variables.
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Link: https://lore.kernel.org/r/20200923132600.10652-6-dmurphy@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/tas2770.h')
-rw-r--r-- | sound/soc/codecs/tas2770.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sound/soc/codecs/tas2770.h b/sound/soc/codecs/tas2770.h index 856a7c5cff5a..d156666bcc55 100644 --- a/sound/soc/codecs/tas2770.h +++ b/sound/soc/codecs/tas2770.h @@ -128,15 +128,11 @@ #define ERROR_CLASSD_PWR BIT(5) struct tas2770_priv { - struct device *dev; - struct regmap *regmap; struct snd_soc_component *component; - int power_state; struct gpio_desc *reset_gpio; struct gpio_desc *sdz_gpio; - int sampling_rate; - int channel_size; - int slot_width; + struct regmap *regmap; + struct device *dev; int v_sense_slot; int i_sense_slot; }; |