Re: [PATCH v3 4/4] xhci: Convert to use list_count()

From: Mathias Nyman
Date: Wed Nov 23 2022 - 09:31:13 EST


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>