Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <ke42caxa@cip.cs.fau.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Stefan Reif and committed by
Greg Kroah-Hartman
234354dc 77178807

-1
-1
drivers/staging/usbip/vhci.h
··· 95 95 96 96 extern struct vhci_hcd *the_controller; 97 97 extern const struct attribute_group dev_attr_group; 98 - #define hardware (&the_controller->pdev.dev) 99 98 100 99 /* vhci_hcd.c */ 101 100 void rh_port_connect(int rhport, enum usb_device_speed speed);