]> git.baikalelectronics.ru Git - kernel.git/commit
usb/serial: Remove unnecessary check for console
authorPeter Hurley <peter@hurleysoftware.com>
Sat, 23 Feb 2013 15:11:35 +0000 (10:11 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Mar 2013 18:45:15 +0000 (11:45 -0700)
commitd473fc912944654750f93b03e9cbacdfa2c60f0f
treef02b942432048e30b6d158cec3ebf70470c82ce6
parentbcb2c00b1eebd28055f8800d54b6a9a5ac91c496
usb/serial: Remove unnecessary check for console

The tty port ops shutdown() routine is not called for console ports;
remove extra check.

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