]> www.infradead.org Git - users/dwmw2/linux.git/commit
usb: xhci: remove unused variables from struct 'xhci_hcd'
authorNiklas Neronin <niklas.neronin@linux.intel.com>
Thu, 5 Sep 2024 14:32:54 +0000 (17:32 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Sep 2024 14:39:22 +0000 (16:39 +0200)
commitb14485d461a5571be339ba18fa168113ca36257b
treedd58245dd92b3df12846daf887a60502cb95b254
parentb0af5ae78581d0d0bc3813b7516ed75bb8626fc9
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>
drivers/usb/host/xhci.h