From: Peter Ujfalusi Date: Mon, 10 Sep 2012 12:55:17 +0000 (+0300) Subject: ASoC: am3517evm: Remove unused cpu_dai from hw_params X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1867b2cdd8b3ce377f7c415ee10ce0cf1e581316;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Mark Brown --- 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 */