diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2018-12-23 09:56:57 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-24 14:22:14 -0800 |
commit | 2534f14a94c1fe48928a4b00a0e241fa7132d00b (patch) | |
tree | f4725db1a6abdc9b36d2ebe16cc10ef0c7ecd7f8 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 5d1f7354faad4b6210fac9192d0ca4c16b00ae7e (diff) |
net/mlx5e: drop useless LIST_HEAD
Drop LIST_HEAD where the variable it declares is never used.
These became useless in 244cd96adb5f ("net_sched: remove list_head
from tc_action")
The semantic patch that fixes this problem is as follows:
(http://coccinelle.lip6.fr/)
// <smpl>
@@
identifier x;
@@
- LIST_HEAD(x);
... when != x
// </smpl>
Fixes: 244cd96adb5f ("net_sched: remove list_head from tc_action")
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions