[PATCH] USB: UHCI: Remove unused fields and unneeded tests for NULL
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 16 Sep 2005 18:17:45 +0000 (14:17 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 28 Oct 2005 23:47:39 +0000 (16:47 -0700)
commit8b4cd42134fbd3c9a9a5c3467d31717798219b1b
treeaec7570ecc2f481b2a3357f05810be8c3d897669
parente08fb39b771dd7dcba405669b5384fe9929e1caf
[PATCH] USB: UHCI: Remove unused fields and unneeded tests for NULL

This patch (as562) removes from the uhci-hcd driver a few unused fields
and some unnecessary tests against NULL and assignments to NULL.  In fact
it wasn't until fairly recently that the tests became unnecessary.
Before last winter it was possible that the driver's stop() routine would
get called even if the start() routine returned an error, but now that
can't happen.  Hence there's no longer any need to check for partial
initialization.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/uhci-debug.c
drivers/usb/host/uhci-hcd.c
drivers/usb/host/uhci-hcd.h
drivers/usb/host/uhci-q.c