# This is a BitKeeper generated patch for the following project: # Project Name: Linux kernel tree # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet 1.578 -> 1.579 # drivers/usb/uhci.c 1.32 -> 1.33 # # The following is the BitKeeper ChangeSet Log # -------------------------------------------- # 02/04/03 johannes@erdfelt.com 1.579 # USB UHCI driver # # The patch ensures that uhci.c doesn't use urb->status after the # completion callback if it doesn't need to. # -------------------------------------------- # diff -Nru a/drivers/usb/uhci.c b/drivers/usb/uhci.c --- a/drivers/usb/uhci.c Wed Apr 3 16:39:07 2002 +++ b/drivers/usb/uhci.c Wed Apr 3 16:39:07 2002 @@ -2370,15 +2370,15 @@ urb->dev = NULL; spin_unlock_irqrestore(&urb->lock, flags); - if (urb->complete) { + if (urb->complete) urb->complete(urb); + if (resubmit_interrupt) /* Recheck the status. The completion handler may have */ /* unlinked the resubmitting interrupt URB */ killed = (urb->status == -ENOENT || urb->status == -ECONNABORTED || urb->status == -ECONNRESET); - } if (resubmit_interrupt && !killed) { urb->dev = dev;