Commit bb030314 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

usb core:

	- removed debugging statement in usb_free_urb() that I
	  accidentally left in :(
parent 8e791974
......@@ -868,10 +868,8 @@ struct urb *usb_alloc_urb(int iso_packets, int mem_flags)
void usb_free_urb(struct urb *urb)
{
if (urb)
if (atomic_dec_and_test(&urb->count)) {
info ("really freeing urb");
if (atomic_dec_and_test(&urb->count))
kfree(urb);
}
}
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment