Skip to content

Commit

Permalink
USB: serial: mos7720: remove obsolete port initialisation
Browse files Browse the repository at this point in the history
Since commit b69578d ("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 <[email protected]>
  • Loading branch information
jhovold committed Jan 4, 2017
1 parent fde1faf commit 9da049b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/usb/serial/mos7720.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9da049b

Please sign in to comment.