mirror of
https://github.com/torvalds/linux.git
synced 2026-06-10 07:32:29 +02:00
USB: mos7840: remove unused variable
Fix warning about unused variable introduced by commit e681b66f2e
("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 <jslaby@suse.cz>
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
6903f0a9f2
commit
2834bc7007
|
|
@ -2581,7 +2581,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..........");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user