]> git.baikalelectronics.ru Git - kernel.git/commit
staging: r8188eu: assoc_rsp and assoc_rsp_len are not used
authorMartin Kaiser <martin@kaiser.cx>
Sun, 15 May 2022 15:54:01 +0000 (17:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 May 2022 15:42:23 +0000 (17:42 +0200)
commit6d4e22254d3dbe893c6e12787a13278ca746d3bc
tree61326fbfb2d9ba7d5dda293e3fa64ec6f36c1551
parentf68c7b07e46acda9bdd292b7e07c894b2524dd37
staging: r8188eu: assoc_rsp and assoc_rsp_len are not used

The assoc_rsp buffer in struct mlme_priv is not used. There's no need to
store an incoming association response after receiving an processing it.

Remove the buffer pointer and its length from struct mlme_priv.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220515155401.352742-6-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_mlme.c
drivers/staging/r8188eu/core/rtw_mlme_ext.c
drivers/staging/r8188eu/include/rtw_mlme.h