summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2007-08-22 23:06:48 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2007-10-12 14:55:20 -0700
commitc4e41562e09961df6ba72b49269793d21c0034dc (patch)
tree40e725dcc4a1e0a38cd3864ecb213f0544057869 /drivers/usb/serial
parent6e8fe43b26085a64327d1cbb751ab895f3ad3f5d (diff)
downloadop-kernel-dev-c4e41562e09961df6ba72b49269793d21c0034dc.zip
op-kernel-dev-c4e41562e09961df6ba72b49269793d21c0034dc.tar.gz
USB: cp2101: Coding style police
Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial')
-rw-r--r--drivers/usb/serial/cp2101.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/cp2101.c b/drivers/usb/serial/cp2101.c
index 33f6ee5..8836251 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;
}
OpenPOWER on IntegriCloud