diff options
author | Bernard Blackham <b-linuxgit@largestprime.net> | 2012-10-21 19:45:26 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-22 20:38:40 (GMT) |
commit | 9e1b6cb9dc0a149e270dc62c095c6e9c01a99c44 (patch) | |
tree | 94245b6d1d0eabcf2f6311edacd04d5478a77bec /drivers/staging/usbip/vhci_hcd.c | |
parent | 3d0a2a22c91e58bfe933115d63cdce60ad2b3a11 (diff) | |
download | linux-9e1b6cb9dc0a149e270dc62c095c6e9c01a99c44.tar.xz |
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/usbip/vhci_hcd.c')
-rw-r--r-- | drivers/staging/usbip/vhci_hcd.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/usbip/vhci_hcd.c b/drivers/staging/usbip/vhci_hcd.c index 77d77f7..7dc8bba 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 */ |