|
@@ -1951,7 +1951,6 @@ static int edge_open(struct tty_struct *tty, struct usb_serial_port *port)
|
|
|
status = -EINVAL;
|
|
|
goto release_es_lock;
|
|
|
}
|
|
|
- urb->complete = edge_interrupt_callback;
|
|
|
urb->context = edge_serial;
|
|
|
status = usb_submit_urb(urb, GFP_KERNEL);
|
|
|
if (status) {
|
|
@@ -1978,7 +1977,6 @@ static int edge_open(struct tty_struct *tty, struct usb_serial_port *port)
|
|
|
goto unlink_int_urb;
|
|
|
}
|
|
|
edge_port->ep_read_urb_state = EDGE_READ_URB_RUNNING;
|
|
|
- urb->complete = edge_bulk_in_callback;
|
|
|
urb->context = edge_port;
|
|
|
status = usb_submit_urb(urb, GFP_KERNEL);
|
|
|
if (status) {
|
|
@@ -2257,8 +2255,6 @@ static int restart_read(struct edgeport_port *edge_port)
|
|
|
|
|
|
if (edge_port->ep_read_urb_state == EDGE_READ_URB_STOPPED) {
|
|
|
urb = edge_port->port->read_urb;
|
|
|
- urb->complete = edge_bulk_in_callback;
|
|
|
- urb->context = edge_port;
|
|
|
status = usb_submit_urb(urb, GFP_ATOMIC);
|
|
|
}
|
|
|
edge_port->ep_read_urb_state = EDGE_READ_URB_RUNNING;
|