[PATCH 32/63] USB: usb_wwan: remove redundant modem-control request

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
 drivers/usb/serial/usb_wwan.c | 3 ---
 1 file changed, 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)
 		}
 	}
 
-	if (intfdata->send_setup)
-		intfdata->send_setup(port);
-
 	spin_lock_irq(&intfdata->susp_lock);
 	portdata->opened = 1;
 	if (++intfdata->open_ports == 1)
-- 
1.8.5.5

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux