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@xxxxxxx> > Thanks, Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>
Attachment:
signature.asc
Description: PGP signature