summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/max98090.h
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2014-03-14 09:33:36 +0100
committerMark Brown <broonie@linaro.org>2014-03-14 20:27:29 +0100
commite585ca342dbbfe7102985d9ed4eae3f9e1d77ced (patch)
treea7f06ae9ed73abe3ad0ba6fb160231ec77ea2663 /sound/soc/codecs/max98090.h
parentASoC: max98090: Use SOC_ENUM_SINGLE_DECL() (diff)
downloadlinux-e585ca342dbbfe7102985d9ed4eae3f9e1d77ced.tar.xz
linux-e585ca342dbbfe7102985d9ed4eae3f9e1d77ced.zip
ASoC: max98090: Remove unused control_data field
The driver assigns a value to the control_data field of the driver's state struct, but never reads it again. Which means it is unused and can be removed. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/max98090.h')
-rw-r--r--sound/soc/codecs/max98090.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/max98090.h b/sound/soc/codecs/max98090.h
index 7e103f249053..1a4e2334a7b2 100644
--- a/sound/soc/codecs/max98090.h
+++ b/sound/soc/codecs/max98090.h
@@ -1523,7 +1523,6 @@ struct max98090_priv {
struct regmap *regmap;
struct snd_soc_codec *codec;
enum max98090_type devtype;
- void *control_data;
struct max98090_pdata *pdata;
unsigned int sysclk;
unsigned int bclk;