From: Johan Hovold Date: Thu, 8 Nov 2012 17:28:59 +0000 (+0100) Subject: USB: mos7840: remove unused variable X-Git-Tag: v3.2.34~69 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ca9d9980c95b9cb3cbacb39408873d0f9b06fa7b;p=thirdparty%2Fkernel%2Fstable.git USB: mos7840: remove unused variable 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 Signed-off-by: Johan Hovold Signed-off-by: Ben Hutchings --- diff --git a/drivers/usb/serial/mos7840.c b/drivers/usb/serial/mos7840.c index d481f804f0140..43a38aab24e54 100644 --- a/drivers/usb/serial/mos7840.c +++ b/drivers/usb/serial/mos7840.c @@ -2585,7 +2585,6 @@ error: static void mos7840_disconnect(struct usb_serial *serial) { int i; - unsigned long flags; struct moschip_port *mos7840_port; dbg("%s", " disconnect :entering..........");