staging: r8188eu: xmit_priv's vcs is not used
authorMartin Kaiser <martin@kaiser.cx>
Mon, 9 Jan 2023 21:28:51 +0000 (22:28 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jan 2023 18:35:25 +0000 (19:35 +0100)
commiteb67bf265162d62f22efe3a90021fc43a3c8b13f
tree943eda0885d3ba7002ab8a3a3971786916f23b34
parent393669c761ebae0642917534fbc554a9891654fb
staging: r8188eu: xmit_priv's vcs is not used

The vcs component in struct xmit_priv is set but not used. We can remove
vcs and the rtw_update_protection function, whose only job is to set vcs.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Acked-by: Pavel Skripkin <paskripkin@gmail.com>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Link: https://lore.kernel.org/r/20230109212852.75612-12-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_mlme.c
drivers/staging/r8188eu/core/rtw_xmit.c
drivers/staging/r8188eu/include/rtw_xmit.h
drivers/staging/r8188eu/os_dep/os_intfs.c