linux-stable/drivers/dma/dw
Julia Lawall 1bd09f869f dmaengine: dw: drop useless LIST_HEAD
Drop LIST_HEAD where the variable it declares is never used.

Commit ab703f818a ("dmaengine: dw: lazy allocation of dma
descriptors") removed the uses, but not the declaration.

The semantic patch that fixes this problem is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
identifier x;
@@
- LIST_HEAD(x);
  ... when != x
// </smpl>

Fixes: ab703f818a ("dmaengine: dw: lazy allocation of dma descriptors")
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2019-01-07 09:49:26 +05:30
..
core.c dmaengine: dw: drop useless LIST_HEAD 2019-01-07 09:49:26 +05:30
internal.h dmaengine: dw: export probe()/remove() and Co to users 2014-10-15 20:31:05 +05:30
Kconfig dmaengine: dw: Remove AVR32 bits from the driver 2017-05-15 17:07:30 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pci.c dmaengine: dw: we do support Merrifield SoC in PCI mode 2017-01-25 11:51:40 +05:30
platform.c dmaengine: dw-dmac: implement dma protection control setting 2018-11-24 20:07:22 +05:30
regs.h dmaengine: dw-dmac: implement dma protection control setting 2018-11-24 20:07:22 +05:30