diff options
Diffstat (limited to 'sound/soc/sh/dma-sh7760.c')
-rw-r--r-- | sound/soc/sh/dma-sh7760.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sound/soc/sh/dma-sh7760.c b/sound/soc/sh/dma-sh7760.c index a5b2c4ea90d9..fd11404a3bc7 100644 --- a/sound/soc/sh/dma-sh7760.c +++ b/sound/soc/sh/dma-sh7760.c | |||
@@ -305,11 +305,6 @@ static struct snd_pcm_ops camelot_pcm_ops = { | |||
305 | .pointer = camelot_pos, | 305 | .pointer = camelot_pos, |
306 | }; | 306 | }; |
307 | 307 | ||
308 | static void camelot_pcm_free(struct snd_pcm *pcm) | ||
309 | { | ||
310 | snd_pcm_lib_preallocate_free_for_all(pcm); | ||
311 | } | ||
312 | |||
313 | static int camelot_pcm_new(struct snd_soc_pcm_runtime *rtd) | 308 | static int camelot_pcm_new(struct snd_soc_pcm_runtime *rtd) |
314 | { | 309 | { |
315 | struct snd_pcm *pcm = rtd->pcm; | 310 | struct snd_pcm *pcm = rtd->pcm; |
@@ -328,7 +323,6 @@ static int camelot_pcm_new(struct snd_soc_pcm_runtime *rtd) | |||
328 | static struct snd_soc_platform_driver sh7760_soc_platform = { | 323 | static struct snd_soc_platform_driver sh7760_soc_platform = { |
329 | .ops = &camelot_pcm_ops, | 324 | .ops = &camelot_pcm_ops, |
330 | .pcm_new = camelot_pcm_new, | 325 | .pcm_new = camelot_pcm_new, |
331 | .pcm_free = camelot_pcm_free, | ||
332 | }; | 326 | }; |
333 | 327 | ||
334 | static int sh7760_soc_platform_probe(struct platform_device *pdev) | 328 | static int sh7760_soc_platform_probe(struct platform_device *pdev) |