summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Straube <straube.linux@gmail.com>2021-09-23 21:09:20 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-09-27 17:31:57 +0200
commitcb2c5db5f883cdbb3e1674083f0e9cba1d657996 (patch)
treeda09f05f683cd13af300f886b74cf3785f37223c
parent4ab90e230a8e89609dc5e3a182921889c1b273dd (diff)
downloadlinux-stable-cb2c5db5f883cdbb3e1674083f0e9cba1d657996.tar.gz
linux-stable-cb2c5db5f883cdbb3e1674083f0e9cba1d657996.tar.bz2
linux-stable-cb2c5db5f883cdbb3e1674083f0e9cba1d657996.zip
staging: r8188eu: remove rtw_tdls_cmd()
Function rtw_tdls_cmd() is not used, remove it. Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20210923190920.3580-18-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/r8188eu/core/rtw_cmd.c5
-rw-r--r--drivers/staging/r8188eu/include/rtw_cmd.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/r8188eu/core/rtw_cmd.c b/drivers/staging/r8188eu/core/rtw_cmd.c
index 8173756fdeb8..e11aa5929180 100644
--- a/drivers/staging/r8188eu/core/rtw_cmd.c
+++ b/drivers/staging/r8188eu/core/rtw_cmd.c
@@ -902,11 +902,6 @@ exit:
return res;
}
-u8 rtw_tdls_cmd(struct adapter *padapter, u8 *addr, u8 option)
-{
- return _SUCCESS;
-}
-
static void traffic_status_watchdog(struct adapter *padapter)
{
u8 bEnterPS;
diff --git a/drivers/staging/r8188eu/include/rtw_cmd.h b/drivers/staging/r8188eu/include/rtw_cmd.h
index 6ae0499cd81f..83fbb922db2c 100644
--- a/drivers/staging/r8188eu/include/rtw_cmd.h
+++ b/drivers/staging/r8188eu/include/rtw_cmd.h
@@ -773,7 +773,6 @@ u8 rtw_ps_cmd(struct adapter*padapter);
u8 rtw_chk_hi_queue_cmd(struct adapter*padapter);
u8 rtw_set_chplan_cmd(struct adapter*padapter, u8 chplan, u8 enqueue);
-u8 rtw_tdls_cmd(struct adapter *padapter, u8 *addr, u8 option);
u8 rtw_c2h_wk_cmd(struct adapter *padapter, u8 *c2h_evt);