[alsa-devel] [PATCH 1/2] ASoC: fsl_dma: Remove 'path' field from dma_object struct
Fabio Estevam
festevam at gmail.com
Wed Jan 7 18:21:51 CET 2015
From: Fabio Estevam <fabio.estevam at freescale.com>
The 'path' field has not a real purpose, so let's get rid of it.
Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
---
Buit tested only.
sound/soc/fsl/fsl_dma.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/sound/soc/fsl/fsl_dma.c b/sound/soc/fsl/fsl_dma.c
index 93d7e56..026da0a 100644
--- a/sound/soc/fsl/fsl_dma.c
+++ b/sound/soc/fsl/fsl_dma.c
@@ -63,7 +63,6 @@ struct dma_object {
struct ccsr_dma_channel __iomem *channel;
unsigned int irq;
bool assigned;
- char path[1];
};
/*
@@ -910,7 +909,6 @@ static int fsl_soc_dma_probe(struct platform_device *pdev)
return -ENOMEM;
}
- strcpy(dma->path, np->full_name);
dma->dai.ops = &fsl_dma_ops;
dma->dai.pcm_new = fsl_dma_new;
dma->dai.pcm_free = fsl_dma_free_dma_buffers;
--
1.9.1
More information about the Alsa-devel
mailing list