* [PATCH] staging: r8188eu: os_dep: remove unused static variable
@ 2021-08-28 13:02 Saurav Girepunje
2021-08-28 13:54 ` Martin Kaiser
0 siblings, 1 reply; 2+ messages in thread
From: Saurav Girepunje @ 2021-08-28 13:02 UTC (permalink / raw)
To: Larry.Finger, phil, gregkh, straube.linux, martin, jing.yangyang,
linux-staging, linux-kernel
Cc: saurav.girepunje
Remove unused static variable rtw_enusbss from os_intfs.c file.
Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com>
---
drivers/staging/r8188eu/os_dep/os_intfs.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/r8188eu/os_dep/os_intfs.c b/drivers/staging/r8188eu/os_dep/os_intfs.c
index 8d0158f4a45d..c3ac0ae153f8 100644
--- a/drivers/staging/r8188eu/os_dep/os_intfs.c
+++ b/drivers/staging/r8188eu/os_dep/os_intfs.c
@@ -85,7 +85,6 @@ static int rtw_AcceptAddbaReq = true;/* 0:Reject AP's Add BA req, 1:Accept AP's
static int rtw_antdiv_cfg = 2; /* 0:OFF , 1:ON, 2:decide by Efuse config */
static int rtw_antdiv_type; /* 0:decide by efuse 1: for 88EE, 1Tx and 1RxCG are diversity.(2 Ant with SPDT), 2: for 88EE, 1Tx and 2Rx are diversity.(2 Ant, Tx and RxCG are both on aux port, RxCS is on main port), 3: for 88EE, 1Tx and 1RxCG are fixed.(1Ant, Tx and RxCG are both on aux port) */
-static int rtw_enusbss;/* 0:disable, 1:enable */
static int rtw_hwpdn_mode = 2;/* 0:disable, 1:enable, 2: by EFUSE config */
@@ -133,7 +132,6 @@ module_param(rtw_low_power, int, 0644);
module_param(rtw_wifi_spec, int, 0644);
module_param(rtw_antdiv_cfg, int, 0644);
module_param(rtw_antdiv_type, int, 0644);
-module_param(rtw_enusbss, int, 0644);
module_param(rtw_hwpdn_mode, int, 0644);
module_param(rtw_hwpwrp_detect, int, 0644);
module_param(rtw_hw_wps_pbc, int, 0644);
--
2.32.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] staging: r8188eu: os_dep: remove unused static variable
2021-08-28 13:02 [PATCH] staging: r8188eu: os_dep: remove unused static variable Saurav Girepunje
@ 2021-08-28 13:54 ` Martin Kaiser
0 siblings, 0 replies; 2+ messages in thread
From: Martin Kaiser @ 2021-08-28 13:54 UTC (permalink / raw)
To: Saurav Girepunje
Cc: Larry.Finger, phil, gregkh, straube.linux, jing.yangyang,
linux-staging, linux-kernel, saurav.girepunje
Thus wrote Saurav Girepunje (saurav.girepunje@gmail.com):
> Remove unused static variable rtw_enusbss from os_intfs.c file.
> Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com>
> ---
> drivers/staging/r8188eu/os_dep/os_intfs.c | 2 --
> 1 file changed, 2 deletions(-)
> diff --git a/drivers/staging/r8188eu/os_dep/os_intfs.c b/drivers/staging/r8188eu/os_dep/os_intfs.c
> index 8d0158f4a45d..c3ac0ae153f8 100644
> --- a/drivers/staging/r8188eu/os_dep/os_intfs.c
> +++ b/drivers/staging/r8188eu/os_dep/os_intfs.c
> @@ -85,7 +85,6 @@ static int rtw_AcceptAddbaReq = true;/* 0:Reject AP's Add BA req, 1:Accept AP's
> static int rtw_antdiv_cfg = 2; /* 0:OFF , 1:ON, 2:decide by Efuse config */
> static int rtw_antdiv_type; /* 0:decide by efuse 1: for 88EE, 1Tx and 1RxCG are diversity.(2 Ant with SPDT), 2: for 88EE, 1Tx and 2Rx are diversity.(2 Ant, Tx and RxCG are both on aux port, RxCS is on main port), 3: for 88EE, 1Tx and 1RxCG are fixed.(1Ant, Tx and RxCG are both on aux port) */
> -static int rtw_enusbss;/* 0:disable, 1:enable */
> static int rtw_hwpdn_mode = 2;/* 0:disable, 1:enable, 2: by EFUSE config */
> @@ -133,7 +132,6 @@ module_param(rtw_low_power, int, 0644);
> module_param(rtw_wifi_spec, int, 0644);
> module_param(rtw_antdiv_cfg, int, 0644);
> module_param(rtw_antdiv_type, int, 0644);
> -module_param(rtw_enusbss, int, 0644);
> module_param(rtw_hwpdn_mode, int, 0644);
> module_param(rtw_hwpwrp_detect, int, 0644);
> module_param(rtw_hw_wps_pbc, int, 0644);
> --
> 2.32.0
Looks ok to me, thanks.
Acked-by: Martin Kaiser <martin@kaiser.cx>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-08-28 13:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-28 13:02 [PATCH] staging: r8188eu: os_dep: remove unused static variable Saurav Girepunje
2021-08-28 13:54 ` Martin Kaiser
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).