diff options
author | Valentina Manea <valentina.manea.m@gmail.com> | 2014-03-08 12:53:27 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-09 06:46:42 (GMT) |
commit | eb61d6d45f702c671dc48fa3fb41cb59601eb03d (patch) | |
tree | 3226b793d194a5937f60f9311ae90e3376d35f1d /drivers/staging/usbip/userspace/libsrc/vhci_driver.h | |
parent | 021aed845303989f5deb40b950e80342531876ce (diff) | |
download | linux-eb61d6d45f702c671dc48fa3fb41cb59601eb03d.tar.xz |
staging: usbip: userspace: remove class device infrastructure in vhci_driver
The class device lists were used only when being initialized,
being populated and being destroyed. They had no real meaning
and thus the code was useless.
Signed-off-by: Valentina Manea <valentina.manea.m@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/usbip/userspace/libsrc/vhci_driver.h')
-rw-r--r-- | drivers/staging/usbip/userspace/libsrc/vhci_driver.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/staging/usbip/userspace/libsrc/vhci_driver.h b/drivers/staging/usbip/userspace/libsrc/vhci_driver.h index e071f80..4d87a2a 100644 --- a/drivers/staging/usbip/userspace/libsrc/vhci_driver.h +++ b/drivers/staging/usbip/userspace/libsrc/vhci_driver.h @@ -13,11 +13,6 @@ #define USBIP_VHCI_BUS_TYPE "platform" #define MAXNPORT 128 -struct usbip_class_device { - char class_path[SYSFS_PATH_MAX]; - char dev_path[SYSFS_PATH_MAX]; -}; - struct usbip_imported_device { uint8_t port; uint32_t status; @@ -28,7 +23,6 @@ struct usbip_imported_device { uint8_t devnum; /* usbip_class_device list */ - struct dlist *cdev_list; struct usbip_usb_device udev; }; @@ -38,9 +32,6 @@ struct usbip_vhci_driver { /* /sys/devices/platform/vhci_hcd */ struct sysfs_device *hc_device; - /* usbip_class_device list */ - struct dlist *cdev_list; - int nports; struct usbip_imported_device idev[MAXNPORT]; }; |