aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/r8188eu/include/rtw_mlme.h
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2022-05-15 17:54:01 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-05-19 17:42:23 +0200
commit381b6d7b9c26a1e5f01ef53e236f8768834c1ada (patch)
tree61326fbfb2d9ba7d5dda293e3fa64ec6f36c1551 /drivers/staging/r8188eu/include/rtw_mlme.h
parentstaging: r8188eu: last_rx_mgnt_pkts is set but not used (diff)
downloadlinux-dev-381b6d7b9c26a1e5f01ef53e236f8768834c1ada.tar.xz
linux-dev-381b6d7b9c26a1e5f01ef53e236f8768834c1ada.zip
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>
Diffstat (limited to '')
-rw-r--r--drivers/staging/r8188eu/include/rtw_mlme.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/r8188eu/include/rtw_mlme.h b/drivers/staging/r8188eu/include/rtw_mlme.h
index 95c23bf1139d..d81668498e46 100644
--- a/drivers/staging/r8188eu/include/rtw_mlme.h
+++ b/drivers/staging/r8188eu/include/rtw_mlme.h
@@ -363,8 +363,6 @@ struct mlme_priv {
u8 *assoc_req;
u32 assoc_req_len;
- u8 *assoc_rsp;
- u32 assoc_rsp_len;
/* Number of associated Non-ERP stations (i.e., stations using 802.11b
* in 802.11g BSS) */