diff options
author | Bernard Blackham <b-linuxgit@largestprime.net> | 2012-10-22 06:45:26 +1100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-22 13:38:40 -0700 |
commit | 9e1b6cb9dc0a149e270dc62c095c6e9c01a99c44 (patch) | |
tree | 94245b6d1d0eabcf2f6311edacd04d5478a77bec /drivers/staging/usbip | |
parent | 3d0a2a22c91e58bfe933115d63cdce60ad2b3a11 (diff) | |
download | op-kernel-dev-9e1b6cb9dc0a149e270dc62c095c6e9c01a99c44.zip op-kernel-dev-9e1b6cb9dc0a149e270dc62c095c6e9c01a99c44.tar.gz |
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')
-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 */ |