Skip to content

Commit b14485d

Browse files
Epicuriusgregkh
authored andcommitted
usb: xhci: remove unused variables from struct 'xhci_hcd'
Variables 'max_slots', 'max_ports', 'isoc_threshold' and 'event_ring_max' are never set or used. Thus, remove them. Signed-off-by: Niklas Neronin <niklas.neronin@linux.intel.com> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Link: https://lore.kernel.org/r/20240905143300.1959279-7-mathias.nyman@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent b0af5ae commit b14485d

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

drivers/usb/host/xhci.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1500,13 +1500,9 @@ struct xhci_hcd {
15001500
/* packed release number */
15011501
u8 sbrn;
15021502
u16 hci_version;
1503-
u8 max_slots;
15041503
u16 max_interrupters;
1505-
u8 max_ports;
1506-
u8 isoc_threshold;
15071504
/* imod_interval in ns (I * 250ns) */
15081505
u32 imod_interval;
1509-
int event_ring_max;
15101506
/* 4KB min, 128MB max */
15111507
int page_size;
15121508
/* Valid values are 12 to 20, inclusive */

0 commit comments

Comments
 (0)