diff options
author | Saurav Girepunje <saurav.girepunje@gmail.com> | 2021-10-03 02:54:04 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-10-05 12:31:13 +0200 |
commit | bb09212a6f81ad24821bb5ffb66449a18f7b8627 (patch) | |
tree | 6f05fe55371e68e2d386643a80080dfaff5036c2 /drivers/staging/rtl8192u | |
parent | 11dc495619d03798fff18b3257b7379a389d68dd (diff) | |
download | lwn-bb09212a6f81ad24821bb5ffb66449a18f7b8627.tar.gz lwn-bb09212a6f81ad24821bb5ffb66449a18f7b8627.zip |
staging: rtl8192u: remove unused static variable
remove unused static variable channels.
Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com>
Link: https://lore.kernel.org/r/YVjN9FT4KjLGX/Zg@user
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u')
-rw-r--r-- | drivers/staging/rtl8192u/r8192U_core.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/rtl8192u/r8192U_core.c b/drivers/staging/rtl8192u/r8192U_core.c index b6698656fc01..594239990455 100644 --- a/drivers/staging/rtl8192u/r8192U_core.c +++ b/drivers/staging/rtl8192u/r8192U_core.c @@ -96,15 +96,12 @@ MODULE_DESCRIPTION("Linux driver for Realtek RTL8192 USB WiFi cards"); static char *ifname = "wlan%d"; static int hwwep = 1; /* default use hw. set 0 to use software security */ -static int channels = 0x3fff; 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 security support. "); -MODULE_PARM_DESC(channels, " Channel bitmask for specific locales. NYI"); static int rtl8192_usb_probe(struct usb_interface *intf, const struct usb_device_id *id); |