Re: [PATCH] staging: r8188eu: core: Remove rtw_mfree_all_stainfo()

Dan Carpenter
2021-08-04T13:02:47Z

On Mon, Aug 02, 2021 at 02:55:17AM +0200, Fabio M. De Francesco wrote:
> Remove rtw_mfree_all_stainfo() and the only line of code that calls
> it. This function simply takes a spinlock and iterates over a list
> with no purpose. That iteration has no side effects.
>

I mean, it's pretty clearly supposed to free all the items on the list.

regards,
dan carpenter