Commit 234354dc authored by Stefan Reif's avatar Stefan Reif Committed by Greg Kroah-Hartman

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: default avatarStefan Reif <ke42caxa@cip.cs.fau.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 77178807
...@@ -95,7 +95,6 @@ struct vhci_hcd { ...@@ -95,7 +95,6 @@ struct vhci_hcd {
extern struct vhci_hcd *the_controller; extern struct vhci_hcd *the_controller;
extern const struct attribute_group dev_attr_group; extern const struct attribute_group dev_attr_group;
#define hardware (&the_controller->pdev.dev)
/* vhci_hcd.c */ /* vhci_hcd.c */
void rh_port_connect(int rhport, enum usb_device_speed speed); void rh_port_connect(int rhport, enum usb_device_speed speed);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment