diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2018-12-23 11:57:07 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-01-07 07:19:26 +0300 |
commit | 1bd09f869f9b294b5645e2ac153ee59604ef959e (patch) | |
tree | 4ffee62ca548f3628ed283cbbcc2483a124d9da1 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | e7987a0659421c2bfe5bcf3bc689876ba9be5f3f (diff) | |
download | linux-1bd09f869f9b294b5645e2ac153ee59604ef959e.tar.xz |
dmaengine: dw: drop useless LIST_HEAD
Drop LIST_HEAD where the variable it declares is never used.
Commit ab703f818ac3 ("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: ab703f818ac3 ("dmaengine: dw: lazy allocation of dma descriptors")
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions