From: Johan Hovold Date: Mon, 26 May 2014 17:23:21 +0000 (+0200) Subject: USB: usb_wwan: remove redundant modem-control request X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=02803542b713060e6e05fcb88fa9258fd46985ca;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Greg Kroah-Hartman --- 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) } } - if (intfdata->send_setup) - intfdata->send_setup(port); - spin_lock_irq(&intfdata->susp_lock); portdata->opened = 1; if (++intfdata->open_ports == 1)