mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 07:04:24 +00:00
dmaengine: fsldma: remove the unused variable
Fix the following build warning: drivers/dma/fsldma.c: In function 'fsl_dma_device_terminate_all': drivers/dma/fsldma.c:947:6: warning: unused variable 'size' [-Wunused-variable] Signed-off-by: Kevin Hao <haokexin@gmail.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
This commit is contained in:
parent
75dc1775ec
commit
0fdd244fe8
1 changed files with 0 additions and 1 deletions
|
@ -944,7 +944,6 @@ static struct dma_async_tx_descriptor *fsl_dma_prep_sg(struct dma_chan *dchan,
|
|||
static int fsl_dma_device_terminate_all(struct dma_chan *dchan)
|
||||
{
|
||||
struct fsldma_chan *chan;
|
||||
int size;
|
||||
|
||||
if (!dchan)
|
||||
return -EINVAL;
|
||||
|
|
Loading…
Reference in a new issue