From: Alan Cox Date: Wed, 22 Aug 2007 22:06:48 +0000 (+0100) Subject: USB: cp2101: Coding style police X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c4e41562e09961df6ba72b49269793d21c0034dc;p=linux-beck.git USB: cp2101: Coding style police Signed-off-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- 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, dbg("%s - port %d", __FUNCTION__, port->number); - if ((!port->tty) || (!port->tty->termios)) { + if (!port->tty || !port->tty->termios) { dbg("%s - no tty structures", __FUNCTION__); return; }