All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: rtl8192u: remove unused static variable
@ 2021-10-02 21:24 Saurav Girepunje
  0 siblings, 0 replies; only message in thread
From: Saurav Girepunje @ 2021-10-02 21:24 UTC (permalink / raw)
  To: gregkh, lee.jones, clrrm, colin.king, dinghao.liu, nathan,
	zhangqilong3, jiapeng.chong, saurav.girepunje, linux-staging,
	linux-kernel
  Cc: saurav.girepunje

remove unused static variable channels.

Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com>
---
 drivers/staging/rtl8192u/r8192U_core.c | 3 ---
 1 file changed, 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);
--
2.32.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-02 21:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-02 21:24 [PATCH] staging: rtl8192u: remove unused static variable Saurav Girepunje

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.