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.

xhci: Remove unused function declarations

Commit 674f8438c121 ("xhci: split handling halted endpoints into two
steps") removed xhci_cleanup_stalled_ring() but left declaration.

Commit 25355e046d29 ("xhci: use generic command timer for stop endpoint
commands.") left behind xhci_stop_endpoint_command_watchdog().

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20240905143300.1959279-4-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Yue Haibing and committed by
Greg Kroah-Hartman
f5985a81 31128e74

-4
-4
drivers/usb/host/xhci.h
··· 1904 1904 enum xhci_ep_reset_type reset_type); 1905 1905 int xhci_queue_reset_device(struct xhci_hcd *xhci, struct xhci_command *cmd, 1906 1906 u32 slot_id); 1907 - void xhci_cleanup_stalled_ring(struct xhci_hcd *xhci, unsigned int slot_id, 1908 - unsigned int ep_index, unsigned int stream_id, 1909 - struct xhci_td *td); 1910 - void xhci_stop_endpoint_command_watchdog(struct timer_list *t); 1911 1907 void xhci_handle_command_timeout(struct work_struct *work); 1912 1908 1913 1909 void xhci_ring_ep_doorbell(struct xhci_hcd *xhci, unsigned int slot_id,