Messages in this thread | | | Date | Sun, 23 Dec 2018 11:40:26 +0200 | From | Leon Romanovsky <> | Subject | Re: [PATCH 02/20] net/mlx5e: drop useless LIST_HEAD |
| |
On Sun, Dec 23, 2018 at 09:56:57AM +0100, Julia Lawall wrote: > 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> >
Thanks, Reviewed-by: Leon Romanovsky <leonro@mellanox.com> [unhandled content-type:application/pgp-signature] | |