diff options
-rw-r--r-- | drivers/usb/serial/cp2101.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/cp2101.c b/drivers/usb/serial/cp2101.c index 33f6ee50b8d3..883625126d6b 100644 --- a/drivers/usb/serial/cp2101.c +++ b/drivers/usb/serial/cp2101.c | |||
@@ -521,7 +521,7 @@ static void cp2101_set_termios (struct usb_serial_port *port, | |||
521 | 521 | ||
522 | dbg("%s - port %d", __FUNCTION__, port->number); | 522 | dbg("%s - port %d", __FUNCTION__, port->number); |
523 | 523 | ||
524 | if ((!port->tty) || (!port->tty->termios)) { | 524 | if (!port->tty || !port->tty->termios) { |
525 | dbg("%s - no tty structures", __FUNCTION__); | 525 | dbg("%s - no tty structures", __FUNCTION__); |
526 | return; | 526 | return; |
527 | } | 527 | } |