mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 22:51:35 +00:00
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>
This commit is contained in:
parent
3d0a2a22c9
commit
9e1b6cb9dc
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user