From: Bernard Blackham Date: Sun, 21 Oct 2012 19:45:26 +0000 (+1100) Subject: staging: usbip: Avoid superfluous set HC_STATE_RUNNING in vhci_start X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9e1b6cb9dc0a149e270dc62c095c6e9c01a99c44;p=linux-beck.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/usbip/vhci_hcd.c b/drivers/staging/usbip/vhci_hcd.c index 77d77f72cb10..7dc8bbaee18f 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 */