[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <47DE5CEE.5070200@pobox.com>
Date: Mon, 17 Mar 2008 07:58:38 -0400
From: Jeff Garzik <jgarzik@...ox.com>
To: Julia Lawall <julia@...u.dk>
CC: jesse@...lus.com.tw, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH 6/7] drivers/net/ipg.c: remove unused variable
Julia Lawall wrote:
> From: Julia Lawall <julia@...u.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@...u.dk>
> ---
> drivers/net/ipg.c | 3 ---
> 1 file changed, 3 deletions(-)
applied
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists