mirror of
https://github.com/torvalds/linux.git
synced 2024-11-14 16:12:02 +00:00
USB: cp2101: Coding style police
Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
6e8fe43b26
commit
c4e41562e0
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user