aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2014-05-26 13:23:21 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-27 18:04:06 -0400
commit02803542b713060e6e05fcb88fa9258fd46985ca (patch)
tree5936167f124b1ac1da395164e6dbdbf84abb642c /drivers/usb/serial
parentc1c0180340aa73e747744abd7e06239f261d4ade (diff)
USB: usb_wwan: remove redundant modem-control request
The tty-port implementation has already made sure that DTR/RTS have been raised by calling dtr_rts so remove the redundant call from open. Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial')
-rw-r--r--drivers/usb/serial/usb_wwan.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/serial/usb_wwan.c b/drivers/usb/serial/usb_wwan.c
index daaa5d795946..9aeaccfd4f74 100644
--- a/drivers/usb/serial/usb_wwan.c
+++ b/drivers/usb/serial/usb_wwan.c
@@ -408,9 +408,6 @@ int usb_wwan_open(struct tty_struct *tty, struct usb_serial_port *port)
408 } 408 }
409 } 409 }
410 410
411 if (intfdata->send_setup)
412 intfdata->send_setup(port);
413
414 spin_lock_irq(&intfdata->susp_lock); 411 spin_lock_irq(&intfdata->susp_lock);
415 portdata->opened = 1; 412 portdata->opened = 1;
416 if (++intfdata->open_ports == 1) 413 if (++intfdata->open_ports == 1)