From: Stefan Reif Date: Thu, 4 Apr 2013 14:03:06 +0000 (+0200) Subject: staging: usbip: remove unnused, broken macro X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=234354dc18dfe065dd6f767db68299aa077634f7;p=linux-beck.git staging: usbip: remove unnused, broken macro 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/usbip/vhci.h b/drivers/staging/usbip/vhci.h index 5dddc4d4b6a5..a863a98a91ce 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);