[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <47DE5CF7.8040102@pobox.com>
Date: Mon, 17 Mar 2008 07:58:47 -0400
From: Jeff Garzik <jgarzik@...ox.com>
To: Julia Lawall <julia@...u.dk>
CC: jcliburn@...il.com, csnook@...hat.com,
atl1-devel@...ts.sourceforge.net, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH 7/7] drivers/net/atl1/atl1_main.c: remove unused variable
Julia Lawall wrote:
> From: Julia Lawall <julia@...u.dk>
>
> The variable update_rx 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/atl1/atl1_main.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