aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorBernard Blackham <b-linuxgit@largestprime.net>2012-10-22 06:45:26 +1100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-22 13:38:40 -0700
commit9e1b6cb9dc0a149e270dc62c095c6e9c01a99c44 (patch)
tree94245b6d1d0eabcf2f6311edacd04d5478a77bec /drivers/staging
parent3d0a2a22c91e58bfe933115d63cdce60ad2b3a11 (diff)
staging: usbip: Avoid superfluous set HC_STATE_RUNNING in vhci_start
HC_STATE_RUNNING is already set by the usb core. Signed-off-by: Bernard Blackham <b-linuxgit@largestprime.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/usbip/vhci_hcd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/usbip/vhci_hcd.c b/drivers/staging/usbip/vhci_hcd.c
index 77d77f72cb10..7dc8bbaee18f 100644
--- a/drivers/staging/usbip/vhci_hcd.c
+++ b/drivers/staging/usbip/vhci_hcd.c
@@ -911,7 +911,6 @@ static int vhci_start(struct usb_hcd *hcd)
spin_lock_init(&vhci->lock);
hcd->power_budget = 0; /* no limit */
- hcd->state = HC_STATE_RUNNING;
hcd->uses_new_polling = 1;
/* vhci_hcd is now ready to be controlled through sysfs */

Privacy Policy