From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Garzik Date: Mon, 17 Mar 2008 11:58:47 +0000 Subject: Re: [PATCH 7/7] drivers/net/atl1/atl1_main.c: remove unused variable Message-Id: <47DE5CF7.8040102@pobox.com> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Julia Lawall Cc: jcliburn@gmail.com, csnook@redhat.com, atl1-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Julia Lawall wrote: > From: Julia Lawall > > 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/) > > // > @@ > type T; > identifier i; > constant C; > @@ > > ( > extern T i; > | > - T i; > <+... when != i > - i = C; > ...+> > ) > // > > Signed-off-by: Julia Lawall > --- > drivers/net/atl1/atl1_main.c | 3 --- > 1 file changed, 3 deletions(-) applied