staging: r8188eu: core: Remove rtw_mfree_all_stainfo()
authorFabio M. De Francesco <fmdefrancesco@gmail.com>
Mon, 2 Aug 2021 00:55:17 +0000 (02:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Aug 2021 11:09:26 +0000 (13:09 +0200)
commitd229f0fb10250173989d2086073ff702980ef48b
tree8c14283ff4a1b13ab99813cb859e0c69a4084745
parente1109da7bebbf1a0faca8a5e3453fe98035578fa
staging: r8188eu: core: Remove rtw_mfree_all_stainfo()

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.

Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Acked-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20210802005517.12815-1-fmdefrancesco@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_sta_mgt.c