diff options
author | Yuyang Du <yuyang.du@intel.com> | 2017-06-08 07:04:09 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-13 10:51:10 +0200 |
commit | 03cd00d538a6feb0492cd153edf256ef7d7bd95e (patch) | |
tree | 405fd03ca406c69c1fd569d5f1ac8573dc56abd4 /drivers/usb/usbip/vhci.h | |
parent | usbip: vhci-hcd: Rework vhci_hcd_init (diff) | |
download | linux-03cd00d538a6feb0492cd153edf256ef7d7bd95e.tar.xz linux-03cd00d538a6feb0492cd153edf256ef7d7bd95e.zip |
usbip: vhci-hcd: Set the vhci structure up to work
This patch enables the new vhci structure. Its lock protects
both the USB2 hub and the shared USB3 hub.
Signed-off-by: Yuyang Du <yuyang.du@intel.com>
Acked-by: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/usbip/vhci.h')
-rw-r--r-- | drivers/usb/usbip/vhci.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/usbip/vhci.h b/drivers/usb/usbip/vhci.h index 62ee537b44c8..8a979fc00ac1 100644 --- a/drivers/usb/usbip/vhci.h +++ b/drivers/usb/usbip/vhci.h @@ -100,8 +100,6 @@ struct vhci { struct vhci_hcd { struct vhci *vhci; - spinlock_t lock; - u32 port_status[VHCI_HC_PORTS]; unsigned resuming:1; |