]> www.infradead.org Git - users/jedix/linux-maple.git/commit
usb: xhci: Remove unused parameters of next_trb()
authorMichal Pecio <michal.pecio@gmail.com>
Wed, 6 Nov 2024 10:14:28 +0000 (12:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Nov 2024 12:26:14 +0000 (13:26 +0100)
commit6b2eb0621ffb3ee9f3e497b483e8088436bdb07e
treeaf49e047e0e3187471d7abcea01da915192bb129
parent7ca8c96056f57cbd923f9b36f2db75796e5dd738
usb: xhci: Remove unused parameters of next_trb()

The function has two parameters which it doesn't use and hasn't ever
used. One caller even puts NULL there, knowing it will work anyway.

Signed-off-by: Michal Pecio <michal.pecio@gmail.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20241106101459.775897-3-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-ring.c