linux-next: build warning after merge of the dmaengine tree

From: Stephen Rothwell
Date: Mon Sep 14 2020 - 00:30:18 EST


Hi all,

After merging the dmaengine tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

drivers/dma/sf-pdma/sf-pdma.c: In function 'sf_pdma_donebh_tasklet':
drivers/dma/sf-pdma/sf-pdma.c:287:23: warning: unused variable 'desc' [-Wunused-variable]
287 | struct sf_pdma_desc *desc = chan->desc;
| ^~~~

Introduced by commit

8f6b6d060602 ("dmaengine: sf-pdma: Fix an error that calls callback twice")

--
Cheers,
Stephen Rothwell

Attachment: pgpTFJNh7xQh_.pgp
Description: OpenPGP digital signature