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

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Niklas Neronin and committed by
Greg Kroah-Hartman
b14485d4 b0af5ae7

-4
-4
drivers/usb/host/xhci.h
··· 1500 1500 /* packed release number */ 1501 1501 u8 sbrn; 1502 1502 u16 hci_version; 1503 - u8 max_slots; 1504 1503 u16 max_interrupters; 1505 - u8 max_ports; 1506 - u8 isoc_threshold; 1507 1504 /* imod_interval in ns (I * 250ns) */ 1508 1505 u32 imod_interval; 1509 - int event_ring_max; 1510 1506 /* 4KB min, 128MB max */ 1511 1507 int page_size; 1512 1508 /* Valid values are 12 to 20, inclusive */