diff options
Diffstat (limited to 'net/bluetooth/rfcomm/tty.c')
| -rw-r--r-- | net/bluetooth/rfcomm/tty.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/bluetooth/rfcomm/tty.c b/net/bluetooth/rfcomm/tty.c index cab71ea2796d..befc3a52aa04 100644 --- a/net/bluetooth/rfcomm/tty.c +++ b/net/bluetooth/rfcomm/tty.c | |||
| @@ -1014,8 +1014,6 @@ static void rfcomm_tty_set_termios(struct tty_struct *tty, struct ktermios *old) | |||
| 1014 | rfcomm_send_rpn(dev->dlc->session, 1, dev->dlc->dlci, baud, | 1014 | rfcomm_send_rpn(dev->dlc->session, 1, dev->dlc->dlci, baud, |
| 1015 | data_bits, stop_bits, parity, | 1015 | data_bits, stop_bits, parity, |
| 1016 | RFCOMM_RPN_FLOW_NONE, x_on, x_off, changes); | 1016 | RFCOMM_RPN_FLOW_NONE, x_on, x_off, changes); |
| 1017 | |||
| 1018 | return; | ||
| 1019 | } | 1017 | } |
| 1020 | 1018 | ||
| 1021 | static void rfcomm_tty_throttle(struct tty_struct *tty) | 1019 | static void rfcomm_tty_throttle(struct tty_struct *tty) |
| @@ -1155,7 +1153,7 @@ static const struct tty_operations rfcomm_ops = { | |||
| 1155 | .tiocmset = rfcomm_tty_tiocmset, | 1153 | .tiocmset = rfcomm_tty_tiocmset, |
| 1156 | }; | 1154 | }; |
| 1157 | 1155 | ||
| 1158 | int rfcomm_init_ttys(void) | 1156 | int __init rfcomm_init_ttys(void) |
| 1159 | { | 1157 | { |
| 1160 | rfcomm_tty_driver = alloc_tty_driver(RFCOMM_TTY_PORTS); | 1158 | rfcomm_tty_driver = alloc_tty_driver(RFCOMM_TTY_PORTS); |
| 1161 | if (!rfcomm_tty_driver) | 1159 | if (!rfcomm_tty_driver) |
