diff options
author | Julia Lawall <[email protected]> | 2018-12-23 09:57:02 +0100 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2019-01-07 09:49:26 +0530 |
commit | e7987a0659421c2bfe5bcf3bc689876ba9be5f3f (patch) | |
tree | 192844ae836a4c4f9aa4ffd8e0390825917de4a1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bfeffd155283772bbe78c6a05dec7c0128ee500c (diff) |
dmaengine: at_hdmac: drop useless LIST_HEAD
Drop LIST_HEAD where the variable it declares is never used.
tmp_list has been declared since the introduction of the driver
and has never been used. The two declarations of list were
introduced with the containing functions but were also not used.
The semantic patch that fixes this problem is as follows:
(http://coccinelle.lip6.fr/)
// <smpl>
@@
identifier x;
@@
- LIST_HEAD(x);
... when != x
// </smpl>
Fixes: dc78baa2b90b ("dmaengine: at_hdmac: new driver for the Atmel AHB DMA Controller")
Fixes: 4facfe7f09f2b ("dmaengine: hdmac: Split device_control")
Acked-by: Ludovic Desroches <[email protected]>
Signed-off-by: Julia Lawall <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions