summaryrefslogtreecommitdiffstats
path: root/sound/soc/omap
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2012-09-10 15:55:17 +0300
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-09-11 11:26:00 +0800
commit1867b2cdd8b3ce377f7c415ee10ce0cf1e581316 (patch)
tree2d120507253395a6a55836e18577291b8cca3654 /sound/soc/omap
parent1ca6517566b52662f1dea65e3c3d02997282cb01 (diff)
downloadblackbird-op-linux-1867b2cdd8b3ce377f7c415ee10ce0cf1e581316.tar.gz
blackbird-op-linux-1867b2cdd8b3ce377f7c415ee10ce0cf1e581316.zip
ASoC: am3517evm: Remove unused cpu_dai from hw_params
cpu_dai is not in use in this function and just generates warning at compile time. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/omap')
-rw-r--r--sound/soc/omap/am3517evm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/omap/am3517evm.c b/sound/soc/omap/am3517evm.c
index a997988af147..77a87012977c 100644
--- a/sound/soc/omap/am3517evm.c
+++ b/sound/soc/omap/am3517evm.c
@@ -41,7 +41,6 @@ static int am3517evm_hw_params(struct snd_pcm_substream *substream,
{
struct snd_soc_pcm_runtime *rtd = substream->private_data;
struct snd_soc_dai *codec_dai = rtd->codec_dai;
- struct snd_soc_dai *cpu_dai = rtd->cpu_dai;
int ret;
/* Set the codec system clock for DAC and ADC */
OpenPOWER on IntegriCloud