Skip to content

Commit

Permalink
staging: usbip: remove unnused, broken macro
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stefan Reif authored and Greg Kroah-Hartman committed Apr 5, 2013
1 parent 7717880 commit 234354d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/staging/usbip/vhci.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 234354d

Please sign in to comment.