summaryrefslogtreecommitdiff
path: root/sound/soc/davinci/davinci-mcasp.h
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2012-12-05 18:20:36 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-07 14:46:56 +0900
commitd0c6c482f6d8c2145717ab0266c87e3e792527ef (patch)
tree7cef78aa68935a41eb7bd8fea3aecb51fa1e7b1b /sound/soc/davinci/davinci-mcasp.h
parent88abfd5b84cc98c839fb7783c59b4c79d63d45e2 (diff)
downloadlinux-d0c6c482f6d8c2145717ab0266c87e3e792527ef.tar.gz
ASoC: McASP: remove unused variables
codec_fmt and sample_rate variables are unused in both snd_platform_data and davinci_audio_dev, so drop them. Signed-off-by: Daniel Mack <zonque@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/davinci/davinci-mcasp.h')
-rw-r--r--sound/soc/davinci/davinci-mcasp.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/davinci/davinci-mcasp.h b/sound/soc/davinci/davinci-mcasp.h
index 156f15f55744..a42b5d96739f 100644
--- a/sound/soc/davinci/davinci-mcasp.h
+++ b/sound/soc/davinci/davinci-mcasp.h
@@ -40,9 +40,7 @@ enum {
struct davinci_audio_dev {
struct davinci_pcm_dma_params dma_params[2];
void __iomem *base;
- int sample_rate;
struct device *dev;
- unsigned int codec_fmt;
/* McASP specific data */
int tdm_slots;