USB: cp2101: Coding style police
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Wed, 22 Aug 2007 22:06:48 +0000 (23:06 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 21:55:20 +0000 (14:55 -0700)
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/cp2101.c

index 33f6ee50b8d34b5c0ca5fc83d368d8325d11e235..883625126d6b67f028c94375a979bf4150d0e776 100644 (file)
@@ -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;
        }