diff mbox series

[5/6] xhci: remove unused command member from struct xhci_hcd struct

Message ID 20220921123450.671459-6-mathias.nyman@linux.intel.com (mailing list archive)
State Accepted
Commit 1a855a83592ed968d95ea28f15755c22f8336fba
Headers show
Series xhci features and fixes for usb-next | expand

Commit Message

Mathias Nyman Sept. 21, 2022, 12:34 p.m. UTC
The u32 command was added to struct xhci_hcd over 10 years ago in
commit 9777e3ce907d ("USB: xHCI: bus power management implementation")

It wasn't even used back then, so remove it.

Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
---
 drivers/usb/host/xhci.h | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h
index 7caa0db5e826..fa352fb24867 100644
--- a/drivers/usb/host/xhci.h
+++ b/drivers/usb/host/xhci.h
@@ -1827,7 +1827,6 @@  struct xhci_hcd {
 	/* Host controller watchdog timer structures */
 	unsigned int		xhc_state;
 	unsigned long		run_graceperiod;
-	u32			command;
 	struct s3_save		s3;
 /* Host controller is dying - not responding to commands. "I'm not dead yet!"
  *