From 88dd63d2c102102336768cc7ea43a77fbdf9923b Mon Sep 17 00:00:00 2001 From: Marcin Slusarz Date: Sun, 16 Dec 2007 03:25:13 +0100 Subject: [PATCH] --- yaml --- r: 82241 b: refs/heads/master c: f570728f89c9d4b262f7c180e5a8e230e675af0c h: refs/heads/master i: 82239: 4431a57705a6eee338fb0ea5c4a829b4ce763692 v: v3 --- [refs] | 2 +- trunk/drivers/usb/host/ehci-hcd.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index e6fad7b6dabf..7ac269574f14 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7f9705b04c1638b3682f63ece7931384f4542f17 +refs/heads/master: f570728f89c9d4b262f7c180e5a8e230e675af0c diff --git a/trunk/drivers/usb/host/ehci-hcd.c b/trunk/drivers/usb/host/ehci-hcd.c index 5917c6b7ce33..fb2b227afc4f 100644 --- a/trunk/drivers/usb/host/ehci-hcd.c +++ b/trunk/drivers/usb/host/ehci-hcd.c @@ -862,16 +862,16 @@ static int ehci_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) /* reschedule QH iff another request is queued */ if (!list_empty (&qh->qtd_list) && HC_IS_RUNNING (hcd->state)) { - int status; + int schedule_status; - status = qh_schedule (ehci, qh); + schedule_status = qh_schedule (ehci, qh); spin_unlock_irqrestore (&ehci->lock, flags); - if (status != 0) { + if (schedule_status != 0) { // shouldn't happen often, but ... // FIXME kill those tds' urbs err ("can't reschedule qh %p, err %d", - qh, status); + qh, schedule_status); } return status; }