projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e8fe43
)
USB: cp2101: Coding style police
author
Alan Cox
<alan@lxorguk.ukuu.org.uk>
Wed, 22 Aug 2007 22:06:48 +0000
(23:06 +0100)
committer
Greg 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/serial/cp2101.c
b/drivers/usb/serial/cp2101.c
index 33f6ee50b8d34b5c0ca5fc83d368d8325d11e235..883625126d6b67f028c94375a979bf4150d0e776 100644
(file)
--- 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;
}