USB: fix previous sparse fix which was incorrect
commite1a491429e7f9b6fb608d9f173e5807fba053d5b
authorDavid Brownell <david-b@pacbell.net>
Sat, 2 Feb 2008 10:36:53 +0000 (2 02:36 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 21 Feb 2008 23:38:51 +0000 (21 15:38 -0800)
treec2dcf73d9dc390957499d634bb02b2b30a1bf951
parent0cc5e2e7c3edd8b45775f50c74738d61b43ac5e8
USB: fix previous sparse fix which was incorrect

The previous fix for a "sparse" warning in ehci_urb_dequeue() was
incorrect.  After rescheduling interrupt transfers it returned the
URB's completion status, not status for the dequeue operation itself.

This patch resolves that issue, cleans up the code in the reschedule
path, and shrinks the object code by a dozen bytes.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-hcd.c