aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/omap/omap-abe-dsp.c
diff options
context:
space:
mode:
authorMisael Lopez Cruz <misael.lopez@ti.com>2011-07-12 05:17:16 -0500
committerSimon Wilson <simonwilson@google.com>2011-07-14 14:07:48 -0700
commite8287907093ad2231e779d1db02a73108ff4e0b6 (patch)
tree7c0e896cc4bca668af945e12a7003e718d20d5e4 /sound/soc/omap/omap-abe-dsp.c
parentc5dac4e3843784ad9b4996cc66d16960594b4895 (diff)
downloadkernel_samsung_tuna-e8287907093ad2231e779d1db02a73108ff4e0b6.zip
kernel_samsung_tuna-e8287907093ad2231e779d1db02a73108ff4e0b6.tar.gz
kernel_samsung_tuna-e8287907093ad2231e779d1db02a73108ff4e0b6.tar.bz2
ASoC: ABE DSP: Fix compilation warnings
Fix compilation warnings in ABE DSP driver: sound/soc/omap/omap-abe-dsp.c: In function 'abe_irq_pingpong_subroutine': sound/soc/omap/omap-abe-dsp.c:196: warning: unused variable 'abe' sound/soc/omap/omap-abe-dsp.c: In function 'abe_engine_probe': sound/soc/omap/omap-abe-dsp.c:2296: warning: unused variable 'k' Change-Id: I1337e95c2a7f22e4be17d987637f1b4f5b926398 Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Diffstat (limited to 'sound/soc/omap/omap-abe-dsp.c')
-rw-r--r--sound/soc/omap/omap-abe-dsp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/omap/omap-abe-dsp.c b/sound/soc/omap/omap-abe-dsp.c
index b5c7e8a..953d25e 100644
--- a/sound/soc/omap/omap-abe-dsp.c
+++ b/sound/soc/omap/omap-abe-dsp.c
@@ -192,7 +192,6 @@ static int abe_dsp_write(struct snd_soc_platform *platform, unsigned int reg,
static void abe_irq_pingpong_subroutine(u32 *data)
{
- struct abe_data *abe = (struct abe_data *)data;
u32 dst, n_bytes;
abe_read_next_ping_pong_buffer(MM_DL_PORT, &dst, &n_bytes);
@@ -2334,7 +2333,7 @@ static int __devinit abe_engine_probe(struct platform_device *pdev)
struct resource *res;
struct omap4_abe_dsp_pdata *pdata = pdev->dev.platform_data;
struct abe_data *abe;
- int ret = -EINVAL, i, k;
+ int ret = -EINVAL, i;
abe = kzalloc(sizeof(struct abe_data), GFP_KERNEL);
if (abe == NULL)