From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 11 May 2002 00:37:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 11 May 2002 00:37:51 -0400 Received: from holomorphy.com ([66.224.33.161]:56462 "EHLO holomorphy") by vger.kernel.org with ESMTP id ; Sat, 11 May 2002 00:37:51 -0400 Date: Fri, 10 May 2002 21:36:30 -0700 From: William Lee Irwin III To: Frank Davis Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] 2.5.15 : drivers/block/paride/pcd.c minor unused var patch Message-ID: <20020511043630.GB32767@holomorphy.com> Mail-Followup-To: William Lee Irwin III , Frank Davis , linux-kernel@vger.kernel.org In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Description: brief message Content-Disposition: inline User-Agent: Mutt/1.3.25i Organization: The Domain of Holomorphy Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sat, May 11, 2002 at 12:22:01AM -0400, Frank Davis wrote: > Hello all, > The following just removes an unused varible (Didn't see this posted > yet). > > Regards, > Frank > > --- drivers/block/paride/pcd.c.old Sat May 4 12:23:09 2002 > +++ drivers/block/paride/pcd.c Sat May 11 00:15:10 2002 > @@ -330,7 +330,7 @@ > > int pcd_init (void) /* preliminary initialisation */ > > -{ int i, unit; > +{ int unit; > > if (disable) return -1; Any chance you could do something like int pcd_init(void) /* preliminary initialization */ { int unit; if (disable) return -1; ... both unit and i are unused and there's a bit of style breakage to fix. Cheers, Bill