/* ld_usb_abort_transfers aborts transfers and frees associated data structures  */
static void ld_usb_abort_transfers(struct ld_usb *dev)
/* ld_usb_abort_transfers aborts transfers and frees associated data structures  */
static void ld_usb_abort_transfers(struct ld_usb *dev)
{
	if (dev->interrupt_in_running) {
		dev->interrupt_in_running = 0;
		if (dev->intf)
			usb_kill_urb(dev->interrupt_in_urb);
	}
	if (dev->interrupt_out_busy)
		if (dev->intf)
			usb_kill_urb(dev->interrupt_out_urb);
}