From patchwork Wed Dec 12 05:10:49 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [3.5.y.z, extended, stable] Patch "USB: mos7840: remove unused variable" has been added to staging queue Date: Tue, 11 Dec 2012 19:10:49 -0000 From: Herton Ronaldo Krzesinski X-Patchwork-Id: 205404 Message-Id: <1355289049-30724-1-git-send-email-herton.krzesinski@canonical.com> To: Johan Hovold Cc: kernel-team@lists.ubuntu.com, Jiri Slaby This is a note to let you know that I have just added a patch titled USB: mos7840: remove unused variable to the linux-3.5.y-queue branch of the 3.5.y.z extended stable tree which can be found at: http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=shortlog;h=refs/heads/linux-3.5.y-queue If you, or anyone else, feels it should not be added to this tree, please reply to this email. For more information about the 3.5.y.z tree, see https://wiki.ubuntu.com/Kernel/Dev/ExtendedStable Thanks. -Herton ------ >From 0dddfacee3aadfab15d8edb9a3e181b0ec0b5a3c Mon Sep 17 00:00:00 2001 From: Johan Hovold Date: Thu, 8 Nov 2012 18:28:59 +0100 Subject: [PATCH] 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: Herton Ronaldo Krzesinski --- drivers/usb/serial/mos7840.c | 1 - 1 file changed, 1 deletion(-) -- 1.7.9.5 diff --git a/drivers/usb/serial/mos7840.c b/drivers/usb/serial/mos7840.c index 9b819c4..1b5ea51 100644 --- a/drivers/usb/serial/mos7840.c +++ b/drivers/usb/serial/mos7840.c @@ -2676,7 +2676,6 @@ error: static void mos7840_disconnect(struct usb_serial *serial) { int i; - unsigned long flags; struct moschip_port *mos7840_port; if (!serial) {