Messages in this thread | | | Date | Mon, 17 Mar 2008 07:58:38 -0400 | From | Jeff Garzik <> | Subject | Re: [PATCH 6/7] drivers/net/ipg.c: remove unused variable |
| |
Julia Lawall wrote: > From: Julia Lawall <julia@diku.dk> > > The variable gig is initialized but never used otherwise. > > The semantic patch that makes this change is as follows: > (http://www.emn.fr/x-info/coccinelle/) > > // <smpl> > @@ > type T; > identifier i; > constant C; > @@ > > ( > extern T i; > | > - T i; > <+... when != i > - i = C; > ...+> > ) > // </smpl> > > Signed-off-by: Julia Lawall <julia@diku.dk> > --- > drivers/net/ipg.c | 3 --- > 1 file changed, 3 deletions(-)
applied
| |