USB: cdc-acm: remove redundant disconnected test from shutdown
authorJohan Hovold <jhovold@gmail.com>
Mon, 26 May 2014 17:23:47 +0000 (19:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 May 2014 22:04:09 +0000 (15:04 -0700)
commit89e54e4468338df5a4ab7627c5b8b10786ee43e8
tree70db106047c274db709be3c8784c4e1cc13232e1
parentbbf0cb3e93a1b6ef8bf22a67f35d7c98ef378f2b
USB: cdc-acm: remove redundant disconnected test from shutdown

Remove redundant disconnect test from shutdown(), which is never called
post disconnect() where we do synchronous hangup.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/class/cdc-acm.c