usb_free_urb

Name

usb_free_urb --  frees the memory used by a urb

Synopsis

void usb_free_urb (struct urb* urb);

Arguments

urb

pointer to the urb to free

Description

If an urb is created with a call to usb_create_urb it should be cleaned up with a call to usb_free_urb when the driver is finished with it.