mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
dmaengine: dw: drop useless LIST_HEAD
Drop LIST_HEAD where the variable it declares is never used. Commitab703f818a("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>
This commit is contained in:
parent
e7987a0659
commit
1bd09f869f
1 changed files with 0 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue