From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <509EBBDE.9020902@suse.cz> Date: Sat, 10 Nov 2012 21:41:02 +0100 From: Jiri Slaby MIME-Version: 1.0 To: Johan Hovold CC: Greg KH , linux-kernel@vger.kernel.org, Andrew Morton , torvalds@linux-foundation.org, stable@vger.kernel.org, lwn@lwn.net, Ben Hutchings Subject: Re: [PATCH] USB: mos7840: remove unused variable References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: On 11/08/2012 06:28 PM, Johan Hovold wrote: > Fix warning about unused variable introduced by commit e681b66f2e19fa > ("USB: mos7840: remove invalid disconnect handling") upstream. > > A subsequent fix which removed the disconnect function got rid of the > warning but that one was only backported to v3.6. > > Reported-by: Jiri Slaby FWIW Looks good to me. > Cc: stable > Signed-off-by: Johan Hovold > --- > > This patch against v3.4 also applies to v3.0 (and v3.2). > > Thanks, > Johan > > drivers/usb/serial/mos7840.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/usb/serial/mos7840.c b/drivers/usb/serial/mos7840.c > index 0179d34..c854235 100644 > --- a/drivers/usb/serial/mos7840.c > +++ b/drivers/usb/serial/mos7840.c > @@ -2581,7 +2581,6 @@ error: > static void mos7840_disconnect(struct usb_serial *serial) > { > int i; > - unsigned long flags; > struct moschip_port *mos7840_port; > dbg("%s", " disconnect :entering.........."); > thanks, -- js suse labs