Skip to content

Commit

Permalink
staging: usbip: Avoid superfluous set HC_STATE_RUNNING in vhci_start
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bernard Blackham authored and Greg Kroah-Hartman committed Oct 22, 2012
1 parent 3d0a2a2 commit 9e1b6cb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/staging/usbip/vhci_hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 9e1b6cb

Please sign in to comment.