staging: r8188eu: remove the sreset_priv structure
authorMartin Kaiser <martin@kaiser.cx>
Sun, 24 Oct 2021 18:04:48 +0000 (20:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Oct 2021 07:09:44 +0000 (09:09 +0200)
commit608230e7337c0218d64320a3924b696ca0d65446
treef867e4020a10bb21fda8b291aeae0fc3c84bca5f
parent562f1bf39ad79782d3a9091baf9e8a83f242f1ca
staging: r8188eu: remove the sreset_priv structure

last_tx_time from struct sreset_priv is no longer used now that
last_tx_complete_time is gone.

This patch removes last_tx_time. This was the last remaining component of
struct sreset_priv, we can now remove the structure itself.

After removing include/rtw_sreset.h, it turned out that some definitions
in .c files were pulled in via rtw_sreset.h. Add the required include
files directly to make compilation succeed without rtw_sreset.h.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20211024180448.20624-6-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/Makefile
drivers/staging/r8188eu/core/rtw_mlme_ext.c
drivers/staging/r8188eu/core/rtw_sreset.c [deleted file]
drivers/staging/r8188eu/include/rtl8188e_hal.h
drivers/staging/r8188eu/include/rtl8188e_sreset.h
drivers/staging/r8188eu/include/rtw_sreset.h [deleted file]
drivers/staging/r8188eu/os_dep/os_intfs.c
drivers/staging/r8188eu/os_dep/usb_ops_linux.c