diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2018-12-23 09:57:12 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-01-07 09:49:26 +0530 |
commit | 4f194969c3b01ab080d38114feb09be05b16d7c3 (patch) | |
tree | def015c89a76e4ff4976ea69938c556b78d044c1 /drivers/dma/bcm2835-dma.c | |
parent | 3c763b388897a7398ef797b93cbf6580b6ae49e1 (diff) |
dmaengine: pl330: drop useless LIST_HEAD
Drop LIST_HEAD where the variable it declares is never used.
The variable has not been used since the function was introduced
in 740aa95703c5 ("dmaengine: pl330: Split device_control").
The semantic patch that fixes this problem is as follows:
(http://coccinelle.lip6.fr/)
// <smpl>
@@
identifier x;
@@
- LIST_HEAD(x);
... when != x
// </smpl>
Fixes: 740aa95703c5 ("dmaengine: pl330: Split device_control")
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/bcm2835-dma.c')
0 files changed, 0 insertions, 0 deletions