* [PATCH 1/2] ASoC: Remove unused function declaration in imx-ssi.h
@ 2011-10-05 6:40 Axel Lin
2011-10-05 6:41 ` [PATCH 2/2] ASoC: imx: Remove unused variable 'dai' Axel Lin
2011-10-05 16:17 ` [PATCH 1/2] ASoC: Remove unused function declaration in imx-ssi.h Mark Brown
0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2011-10-05 6:40 UTC (permalink / raw)
To: linux-kernel; +Cc: Sascha Hauer, Liam Girdwood, Mark Brown, alsa-devel
These functions are removed in commit f0fba2ad
"ASoC: multi-component - ASoC Multi-Component Support".
Let's remove the leftover function declaration in header file.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
sound/soc/imx/imx-ssi.h | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/sound/soc/imx/imx-ssi.h b/sound/soc/imx/imx-ssi.h
index 0a84cec..1072dfb 100644
--- a/sound/soc/imx/imx-ssi.h
+++ b/sound/soc/imx/imx-ssi.h
@@ -218,12 +218,6 @@ struct imx_ssi {
struct platform_device *soc_platform_pdev_fiq;
};
-struct snd_soc_platform *imx_ssi_fiq_init(struct platform_device *pdev,
- struct imx_ssi *ssi);
-void imx_ssi_fiq_exit(struct platform_device *pdev, struct imx_ssi *ssi);
-struct snd_soc_platform *imx_ssi_dma_mx2_init(struct platform_device *pdev,
- struct imx_ssi *ssi);
-
int snd_imx_pcm_mmap(struct snd_pcm_substream *substream, struct vm_area_struct *vma);
int imx_pcm_new(struct snd_soc_pcm_runtime *rtd);
void imx_pcm_free(struct snd_pcm *pcm);
--
1.7.4.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] ASoC: imx: Remove unused variable 'dai'
2011-10-05 6:40 [PATCH 1/2] ASoC: Remove unused function declaration in imx-ssi.h Axel Lin
@ 2011-10-05 6:41 ` Axel Lin
2011-10-05 16:17 ` [PATCH 1/2] ASoC: Remove unused function declaration in imx-ssi.h Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Axel Lin @ 2011-10-05 6:41 UTC (permalink / raw)
To: linux-kernel; +Cc: Sascha Hauer, Liam Girdwood, Mark Brown, alsa-devel
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
sound/soc/imx/imx-pcm-fiq.c | 1 -
sound/soc/imx/imx-ssi.c | 1 -
2 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/sound/soc/imx/imx-pcm-fiq.c b/sound/soc/imx/imx-pcm-fiq.c
index c8527ea..8df0fae2 100644
--- a/sound/soc/imx/imx-pcm-fiq.c
+++ b/sound/soc/imx/imx-pcm-fiq.c
@@ -240,7 +240,6 @@ static int ssi_irq = 0;
static int imx_pcm_fiq_new(struct snd_soc_pcm_runtime *rtd)
{
- struct snd_soc_dai *dai = rtd->cpu_dai;
struct snd_pcm *pcm = rtd->pcm;
struct snd_pcm_substream *substream;
int ret;
diff --git a/sound/soc/imx/imx-ssi.c b/sound/soc/imx/imx-ssi.c
index 4297cb6..4c05e2b 100644
--- a/sound/soc/imx/imx-ssi.c
+++ b/sound/soc/imx/imx-ssi.c
@@ -391,7 +391,6 @@ static u64 imx_pcm_dmamask = DMA_BIT_MASK(32);
int imx_pcm_new(struct snd_soc_pcm_runtime *rtd)
{
struct snd_card *card = rtd->card->snd_card;
- struct snd_soc_dai *dai = rtd->cpu_dai;
struct snd_pcm *pcm = rtd->pcm;
int ret = 0;
--
1.7.4.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] ASoC: Remove unused function declaration in imx-ssi.h
2011-10-05 6:40 [PATCH 1/2] ASoC: Remove unused function declaration in imx-ssi.h Axel Lin
2011-10-05 6:41 ` [PATCH 2/2] ASoC: imx: Remove unused variable 'dai' Axel Lin
@ 2011-10-05 16:17 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2011-10-05 16:17 UTC (permalink / raw)
To: Axel Lin; +Cc: linux-kernel, Sascha Hauer, Liam Girdwood, alsa-devel
On Wed, Oct 05, 2011 at 02:40:46PM +0800, Axel Lin wrote:
> These functions are removed in commit f0fba2ad
> "ASoC: multi-component - ASoC Multi-Component Support".
> Let's remove the leftover function declaration in header file.
Applied, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-10-05 16:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-05 6:40 [PATCH 1/2] ASoC: Remove unused function declaration in imx-ssi.h Axel Lin
2011-10-05 6:41 ` [PATCH 2/2] ASoC: imx: Remove unused variable 'dai' Axel Lin
2011-10-05 16:17 ` [PATCH 1/2] ASoC: Remove unused function declaration in imx-ssi.h Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox