From: Joe Perches Date: Mon, 12 Jul 2010 20:50:27 +0000 (-0700) Subject: ASoC: Remove unnecessary casts of private_data X-Git-Tag: v2.6.36-rc1~6^2~4^2~47 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4726a57b8c1ba398399fe69b56dc97c196ab4f6b;p=platform%2Fkernel%2Flinux-stable.git ASoC: Remove unnecessary casts of private_data Signed-off-by: Joe Perches Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- diff --git a/sound/soc/davinci/davinci-pcm.c b/sound/soc/davinci/davinci-pcm.c index 2dc406f..def454e 100644 --- a/sound/soc/davinci/davinci-pcm.c +++ b/sound/soc/davinci/davinci-pcm.c @@ -800,7 +800,7 @@ static void davinci_pcm_free(struct snd_pcm *pcm) dma_free_writecombine(pcm->card->dev, buf->bytes, buf->area, buf->addr); buf->area = NULL; - iram_dma = (struct snd_dma_buffer *)buf->private_data; + iram_dma = buf->private_data; if (iram_dma) { sram_free(iram_dma->area, iram_dma->bytes); kfree(iram_dma);