On 22.11.2022 17.35, Andy Shevchenko wrote:
The list API now provides the list_count() to help with counting existing nodes in the list. Utilise it. Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> --- v3: no change v2: no change drivers/usb/host/xhci-ring.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
Acked-by: Mathias Nyman <mathias.nyman@xxxxxxxxxxxxxxx>