On Tue, 8 Jan 2019, Kalle Valo wrote: > Julia Lawall <julia.law...@lip6.fr> writes: > > > Drop LIST_HEAD where the variable it declares has never > > been 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: a910e4a94f692 ("cw1200: add driver for the ST-E CW1100 & CW1200 WLAN > > chipsets") > > Signed-off-by: Julia Lawall <julia.law...@lip6.fr> > > > > --- > > Successfully 0-day tested on 151 configurations. > > I assume I can take this to wireless-drivers-next. If you are planning > to push this via some other tree please let me know. Please take it. Thanks. julia
- [PATCH 00/20] drop useless LIST_HEAD Julia Lawall
- [PATCH 16/20] mlxsw: spectrum: drop useless LIST_HEAD Julia Lawall
- [PATCH 20/20] cw1200: drop useless LIST_HEAD Julia Lawall
- Re: [PATCH 20/20] cw1200: drop useless LIST_HEAD Kalle Valo
- Re: [PATCH 20/20] cw1200: drop useless LIST_H... Julia Lawall
- Re: [PATCH 20/20] cw1200: drop useless LIST_HEAD Kalle Valo
- [PATCH 19/20] net/mlx4_core: drop useless LIST_HEAD Julia Lawall
- [PATCH 02/20] net/mlx5e: drop useless LIST_HEAD Julia Lawall
- Re: [PATCH 02/20] net/mlx5e: drop useless LIST_HE... Leon Romanovsky
- Re: [PATCH 00/20] drop useless LIST_HEAD Tom Psyborg
- Re: [PATCH 00/20] drop useless LIST_HEAD Julia Lawall
- Re: [PATCH 00/20] drop useless LIST_HEAD Tom Psyborg
- Re: [PATCH 00/20] drop useless LIST_HEAD Dan Carpenter
- Re: [PATCH 00/20] drop useless LIST_... Darrick J. Wong
- Re: [PATCH 00/20] drop useless L... Julia Lawall