USB: mos7840: remove invalid disconnect handling
authorJohan Hovold <jhovold@gmail.com>
Thu, 25 Oct 2012 16:56:33 +0000 (18:56 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 30 Oct 2012 23:27:04 +0000 (23:27 +0000)
commit5dc9177f7fa81876c661b52d50f5d85aa67216ac
tree109f103622fb80d5dbea14afc3b958bb7a699f23
parent9bddee8d24460a26107cf2ad1ff5c045772e307b
USB: mos7840: remove invalid disconnect handling

commit e681b66f2e19fadbe8a7e2a17900978cb6bc921f upstream.

Remove private zombie flag used to signal disconnect and to prevent
control urb from being submitted from interrupt urb completion handler.

The control urb will not be re-submitted as both the control urb and the
interrupt urb is killed on disconnect.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/usb/serial/mos7840.c