[PATCH 05/15] staging: usbip: remove unnused, broken macro
Stefan Reif
ke42caxa at cip.cs.fau.de
Thu Apr 4 14:03:06 UTC 2013
Remove broken preprocessor macro "hardware". It is unused and it
references an element (pdev in vhci_hcd) that does not exist.
Signed-off-by: Stefan Reif <ke42caxa at cip.cs.fau.de>
---
drivers/staging/usbip/vhci.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/usbip/vhci.h b/drivers/staging/usbip/vhci.h
index 5dddc4d..a863a98 100644
--- a/drivers/staging/usbip/vhci.h
+++ b/drivers/staging/usbip/vhci.h
@@ -95,7 +95,6 @@ struct vhci_hcd {
extern struct vhci_hcd *the_controller;
extern const struct attribute_group dev_attr_group;
-#define hardware (&the_controller->pdev.dev)
/* vhci_hcd.c */
void rh_port_connect(int rhport, enum usb_device_speed speed);
--
1.8.1
More information about the devel
mailing list