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)
commita0b9281e29fb8942baddf2ce4067eb611f4f9c01
tree72fc6c91ba36f532eecea29a8a645162aae58398
parent4ce10417e840ab58717d2c91986d8684c6858c3f
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