OSDN Git Service

USB: cypress_m8: remove bogus disconnect test from close
authorJohan Hovold <jhovold@gmail.com>
Thu, 21 Mar 2013 11:37:37 +0000 (12:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 20:54:30 +0000 (13:54 -0700)
commit87ddf4dc16d93db92431d57c4b2fcd640f428228
tree8f94e1602061050ddd58b4455c86309f6b148ad6
parentecb9eb8064ba705e9182772db28809a755c920e8
USB: cypress_m8: remove bogus disconnect test from close

Remove disconnected test from close which did not protect any device IO
at all.

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