]> git.itanic.dy.fi Git - linux-stable/commit
xhci: Clean up xhci_{alloc,free}_erst() declarations
authorLukas Wunner <lukas@wunner.de>
Thu, 19 Oct 2023 10:29:16 +0000 (13:29 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Oct 2023 10:38:54 +0000 (12:38 +0200)
commit3c45a21fd5d49966fa8bb39f50ae52f6aa9ec999
treec7e94ea17fe97d051487ddf22adaed17839bf4a9
parentc087fada0a6180ab5b88b11c1776eef02f8d556f
xhci: Clean up xhci_{alloc,free}_erst() declarations

xhci_alloc_erst() has global scope even though it's only used in
xhci-mem.c.  Declare it static.

xhci_free_erst() was removed by commit b17a57f89f69 ("xhci: Refactor
interrupter code for initial multi interrupter support."), but a
declaration in xhci.h still remains.  Drop it.

Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20231019102924.2797346-12-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-mem.c
drivers/usb/host/xhci.h