diff options
author | Johan Hovold <johan@kernel.org> | 2017-01-03 16:39:54 +0100 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2017-01-04 10:37:20 +0100 |
commit | 9da049bcedf43e20e8cb77ee00a1239497ed9fa2 (patch) | |
tree | c0e0cf0f93b1356a3d9bad5d8397e14214cb3f40 | |
parent | fde1faf872ed86d88e245191bc15a8e57368cd1c (diff) | |
download | linux-9da049bcedf43e20e8cb77ee00a1239497ed9fa2.tar.gz linux-9da049bcedf43e20e8cb77ee00a1239497ed9fa2.tar.bz2 linux-9da049bcedf43e20e8cb77ee00a1239497ed9fa2.zip |
USB: serial: mos7720: remove obsolete port initialisation
Since commit b69578df7e98 ("USB: usbserial: mos7720: add support for
parallel port on moschip 7715"), the interrupt urb is no longer
submitted at first port open and the endpoint-address initialisation at
port-probe is no longer used.
Signed-off-by: Johan Hovold <johan@kernel.org>
-rw-r--r-- | drivers/usb/serial/mos7720.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/usb/serial/mos7720.c b/drivers/usb/serial/mos7720.c index d6c4441db5f8..91bc170b408a 100644 --- a/drivers/usb/serial/mos7720.c +++ b/drivers/usb/serial/mos7720.c @@ -2011,11 +2011,6 @@ static int mos7720_port_probe(struct usb_serial_port *port) if (!mos7720_port) return -ENOMEM; - /* Initialize all port interrupt end point to port 0 int endpoint. - * Our device has only one interrupt endpoint common to all ports. - */ - port->interrupt_in_endpointAddress = - port->serial->port[0]->interrupt_in_endpointAddress; mos7720_port->port = port; usb_set_serial_port_data(port, mos7720_port); |