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 <[email protected]> Signed-off-by: Mathias Nyman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent b0af5ae commit b14485d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

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)