Don't attempt to insert the transfer in an error case where it has

already been inserted.
This commit is contained in:
iedowse 2006-10-03 01:04:11 +00:00
parent 8817afd4b7
commit 2698dd58d9

View File

@ -385,8 +385,6 @@ usbd_start_transfer(void *arg, bus_dma_segment_t *segs, int nseg, int error)
bus_dmamap_destroy(tag, dmap->map);
xfer->rqflags &= ~URQ_AUTO_DMABUF;
}
/* XXX */
usb_insert_transfer(xfer);
xfer->status = err;
usb_transfer_complete(xfer);
return;