staging: usbip: Avoid superfluous set HC_STATE_RUNNING in vhci_start
authorBernard Blackham <b-linuxgit@largestprime.net>
Sun, 21 Oct 2012 19:45:26 +0000 (06:45 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Oct 2012 20:38:40 +0000 (13:38 -0700)
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>
drivers/staging/usbip/vhci_hcd.c

index 77d77f72cb107410613d01fd853288a350cd3b2f..7dc8bbaee18f6d417e401bd2e7825a779884f198 100644 (file)
@@ -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 */