/* usbvision_empty_framequeues() prepare queues for incoming and outgoing frames  */
void usbvision_empty_framequeues(struct usb_usbvision *usbvision)
/* usbvision_empty_framequeues() prepare queues for incoming and outgoing frames  */
void usbvision_empty_framequeues(struct usb_usbvision *usbvision)
{
	u32 i;
	INIT_LIST_HEAD(&(usbvision->inqueue));
	INIT_LIST_HEAD(&(usbvision->outqueue));
	for (i = 0; i < USBVISION_NUMFRAMES; i++) {
		usbvision->frame[i].grabstate = FrameState_Unused;
		usbvision->frame[i].bytes_read = 0;
	}
}