Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 56830
b: refs/heads/master
c: bf87ce5
h: refs/heads/master
v: v3
  • Loading branch information
Alan Stern authored and Greg Kroah-Hartman committed May 23, 2007
1 parent 8f5e5af commit 364326f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ef7f6c7084b333c7524dcd297e0578d43733a2a2
refs/heads/master: bf87ce5a06ed2cb13ad04f065706cf36ab021549
4 changes: 0 additions & 4 deletions trunk/drivers/usb/core/hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1175,10 +1175,6 @@ void usb_hcd_endpoint_disable (struct usb_device *udev,
struct urb *urb;

hcd = bus_to_hcd(udev->bus);

WARN_ON (!HC_IS_RUNNING (hcd->state) && hcd->state != HC_STATE_HALT &&
udev->state != USB_STATE_NOTATTACHED);

local_irq_disable ();

/* ep is already gone from udev->ep_{in,out}[]; no more submits */
Expand Down

0 comments on commit 364326f

Please sign in to comment.