]> git.karo-electronics.de Git - linux-beck.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)
commit8a7298d361827a1f244415dde62b1b07688d6a3a
treef02b942432048e30b6d158cec3ebf70470c82ce6
parentf1bffc8ca61853dad54da592aadfd28882c00a9e
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