From: Saurav Girepunje Date: Sat, 7 Aug 2021 10:22:31 +0000 (+0530) Subject: staging: rtl8192e: rtl8192e: rtl_core: remove unused global variable X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=3bb8fa376b8a21ccaf25bf64cc70a6a54cf343f8;p=linux.git staging: rtl8192e: rtl8192e: rtl_core: remove unused global variable Remove unused global variable channels from rtl_core.c Signed-off-by: Saurav Girepunje Link: https://lore.kernel.org/r/20210807102232.6674-4-saurav.girepunje@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c index e85d9c2cdc96b..dffae61b517bc 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c @@ -23,7 +23,6 @@ #include "rtl_pm.h" int hwwep = 1; -static int channels = 0x3fff; static char *ifname = "wlan%d"; @@ -2642,8 +2641,6 @@ MODULE_FIRMWARE(RTL8192E_DATA_IMG_FW); module_param(ifname, charp, 0644); module_param(hwwep, int, 0644); -module_param(channels, int, 0644); MODULE_PARM_DESC(ifname, " Net interface name, wlan%d=default"); MODULE_PARM_DESC(hwwep, " Try to use hardware WEP support(default use hw. set 0 to use software security)"); -MODULE_PARM_DESC(channels, " Channel bitmask for specific locales. NYI");