Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754322AbYCQL7f (ORCPT ); Mon, 17 Mar 2008 07:59:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752686AbYCQL70 (ORCPT ); Mon, 17 Mar 2008 07:59:26 -0400 Received: from srv5.dvmed.net ([207.36.208.214]:42906 "EHLO mail.dvmed.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753335AbYCQL7Z (ORCPT ); Mon, 17 Mar 2008 07:59:25 -0400 Message-ID: <47DE5CF7.8040102@pobox.com> Date: Mon, 17 Mar 2008 07:58:47 -0400 From: Jeff Garzik User-Agent: Thunderbird 2.0.0.12 (X11/20080226) MIME-Version: 1.0 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 Subject: Re: [PATCH 7/7] drivers/net/atl1/atl1_main.c: remove unused variable References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.4 (----) X-Spam-Report: SpamAssassin version 3.2.4 on srv5.dvmed.net summary: Content analysis details: (-4.4 points, 5.0 required) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 774 Lines: 38 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/