Browse Source

USB: cp2101: Coding style police

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Alan Cox 17 years ago
parent
commit
c4e41562e0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/usb/serial/cp2101.c

+ 1 - 1
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;
 	}