USB: serial: fix semicolon.cocci warnings
Remove unneeded semicolons. Generated by: scripts/coccinelle/misc/semicolon.cocci Signed-off-by: Mathieu OTHACEHE <m.othacehe@gmail.com> Signed-off-by: Johan Hovold <johan@kernel.org>
This commit is contained in:
parent
ce9d856253
commit
6424839ca1
|
@ -1963,7 +1963,7 @@ static int keyspan_usa49_send_setup(struct usb_serial *serial,
|
||||||
if (d_details->product_id == keyspan_usa49wg_product_id) {
|
if (d_details->product_id == keyspan_usa49wg_product_id) {
|
||||||
dr = (void *)(s_priv->ctrl_buf);
|
dr = (void *)(s_priv->ctrl_buf);
|
||||||
dr->bRequestType = USB_TYPE_VENDOR | USB_DIR_OUT;
|
dr->bRequestType = USB_TYPE_VENDOR | USB_DIR_OUT;
|
||||||
dr->bRequest = 0xB0; /* 49wg control message */;
|
dr->bRequest = 0xB0; /* 49wg control message */
|
||||||
dr->wValue = 0;
|
dr->wValue = 0;
|
||||||
dr->wIndex = 0;
|
dr->wIndex = 0;
|
||||||
dr->wLength = cpu_to_le16(sizeof(msg));
|
dr->wLength = cpu_to_le16(sizeof(msg));
|
||||||
|
|
|
@ -472,7 +472,6 @@ static void klsi_105_set_termios(struct tty_struct *tty,
|
||||||
/* maybe this should be simulated by sending read
|
/* maybe this should be simulated by sending read
|
||||||
* disable and read enable messages?
|
* disable and read enable messages?
|
||||||
*/
|
*/
|
||||||
;
|
|
||||||
#if 0
|
#if 0
|
||||||
priv->control_state &= ~(TIOCM_DTR | TIOCM_RTS);
|
priv->control_state &= ~(TIOCM_DTR | TIOCM_RTS);
|
||||||
mct_u232_set_modem_ctrl(serial, priv->control_state);
|
mct_u232_set_modem_ctrl(serial, priv->control_state);
|
||||||
|
@ -527,7 +526,6 @@ static void klsi_105_set_termios(struct tty_struct *tty,
|
||||||
|
|
||||||
mct_u232_set_line_ctrl(serial, priv->last_lcr);
|
mct_u232_set_line_ctrl(serial, priv->last_lcr);
|
||||||
#endif
|
#endif
|
||||||
;
|
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
* Set flow control: well, I do not really now how to handle DTR/RTS.
|
* Set flow control: well, I do not really now how to handle DTR/RTS.
|
||||||
|
@ -546,7 +544,6 @@ static void klsi_105_set_termios(struct tty_struct *tty,
|
||||||
priv->control_state &= ~(TIOCM_DTR | TIOCM_RTS);
|
priv->control_state &= ~(TIOCM_DTR | TIOCM_RTS);
|
||||||
mct_u232_set_modem_ctrl(serial, priv->control_state);
|
mct_u232_set_modem_ctrl(serial, priv->control_state);
|
||||||
#endif
|
#endif
|
||||||
;
|
|
||||||
}
|
}
|
||||||
memcpy(cfg, &priv->cfg, sizeof(*cfg));
|
memcpy(cfg, &priv->cfg, sizeof(*cfg));
|
||||||
spin_unlock_irqrestore(&priv->lock, flags);
|
spin_unlock_irqrestore(&priv->lock, flags);
|
||||||
|
|
Loading…
Reference in New Issue