Message ID | 1420651312-21671-1-git-send-email-festevam@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Fabio Estevam wrote: > From: Fabio Estevam<fabio.estevam@freescale.com> > > The 'path' field has not a real purpose, so let's get rid of it. I'm pretty sure that it *did* have a real purpose, but it's not needed any more. Let me try to figure out what happened, so you can specify that in the changelog.
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;