On Thu, Jan 04, 2024 at 05:49:32PM +0100, Pierre Gondois wrote: > v2: > - Add usages of the function to avoid considering it as dead code. > v1: > - https://lore.kernel.org/all/20240103090241.164817-1-pierre.gondois@xxxxxxx/ > > Add a generic hlist_count_nodes() function. > > This function aims to be used in a private module. As suggested by > Marco, having it used would avoid to consider it as dead code. > Thus, add some usages of the function in two drivers. With or without a nit-pick being addressed, Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> -- With Best Regards, Andy Shevchenko