]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
usbip: vhci-hcd: Clean up the code by adding a new macro
authorYuyang Du <yuyang.du@intel.com>
Thu, 8 Jun 2017 05:04:13 +0000 (13:04 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Jun 2017 08:51:10 +0000 (10:51 +0200)
commitb891245bff79583b9c69b14b4429362a5d54096e
treeb4fb6991d5b1d79cc6e6283081ac6fad7b5e4b05
parenta5c7f019c7d602c508b3eedc470568df4633c642
usbip: vhci-hcd: Clean up the code by adding a new macro

Each vhci has 2*VHCI_HC_PORTS ports, in which VHCI_HC_PORTS
ports are HighSpeed (or below), and VHCI_HC_PORTS are SuperSpeed.
This new macro VHCI_PORTS reflects this configuration.

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>
drivers/usb/usbip/vhci.h
drivers/usb/usbip/vhci_sysfs.c