summaryrefslogtreecommitdiff
path: root/drivers/usb/host/xhci-ring.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-11-30 15:48:37 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-06 16:37:46 +0100
commit66eccb5274c0b1cdca3bbd1b3627c52e94575808 (patch)
treeeb5342293a2824a3dc57d534d19174a570ef3b60 /drivers/usb/host/xhci-ring.c
parent94c6bcec9f6c4843a9a8d07dddc042ca7a93777c (diff)
usb: gadget: udc: bcm63xx: Convert to use list_count_nodes()
The list API provides the list_count_nodes() to help with counting existing nodes in the list. Utilise it. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20221130134838.23805-3-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci-ring.c')
0 files changed, 0 insertions, 0 deletions