1. NAME▲

usb_free_urb - frees the memory used by a urb when all users of it are finished

2. SYNOPSIS ▲

void usb_free_urb(struct urb *  urb );

3. ARGUMENTS ▲

urb
    pointer to the urb to free, may be NULL

4. DESCRIPTION ▲

Must be called when a user of a urb is finished with it. When the last user of the urb calls this function, the memory of the urb is freed.

5. NOTE ▲

The transfer buffer associated with the urb is not freed unless the URB_FREE_BUFFER transfer flag is set.

6. COPYRIGHT ▲