staging: usbip: remove unnused, broken macro
authorStefan Reif <ke42caxa@cip.cs.fau.de>
Thu, 4 Apr 2013 14:03:06 +0000 (16:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Apr 2013 21:22:50 +0000 (14:22 -0700)
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@cip.cs.fau.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/usbip/vhci.h

index 5dddc4d4b6a566ab0bb224ad85918c7669e25db3..a863a98a91ce01afa0e12e8d86eec5b8c696e58d 100644 (file)
@@ -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);