]> git.baikalelectronics.ru Git - kernel.git/commit
USB: serial: remove defensive test from set_termios
authorJohan Hovold <jhovold@gmail.com>
Wed, 26 Jun 2013 14:47:20 +0000 (16:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jul 2013 23:21:50 +0000 (16:21 -0700)
commite1a8a3aefd8718683f44ddc2a9675aefcd2f70cd
tree72fc6c91ba36f532eecea29a8a645162aae58398
parent0b269d5f1eb6e162854da1a5121166a50c23a129
USB: serial: remove defensive test from set_termios

Remove defensive test from set_termios which is never called with a NULL
tty.

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