Commit ca9d9980 authored by Johan Hovold's avatar Johan Hovold Committed by Ben Hutchings

USB: mos7840: remove unused variable

Fix warning about unused variable introduced by commit e681b66f
("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: default avatarJiri Slaby <jslaby@suse.cz>
Signed-off-by: default avatarJohan Hovold <jhovold@gmail.com>
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
parent e423cb5f
......@@ -2585,7 +2585,6 @@ static int mos7840_startup(struct usb_serial *serial)
static void mos7840_disconnect(struct usb_serial *serial)
{
int i;
unsigned long flags;
struct moschip_port *mos7840_port;
dbg("%s", " disconnect :entering..........");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment