LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Saurav Girepunje <saurav.girepunje@gmail.com>
To: gregkh@linuxfoundation.org, Larry.Finger@lwfinger.net,
	saurav.girepunje@gmail.com, insafonov@gmail.com,
	straube.linux@gmail.com, martin@kaiser.cx, will+git@drnd.me,
	dan.carpenter@oracle.com, apais@linux.microsoft.com,
	yashsri421@gmail.com, fabioaiuto83@gmail.com,
	marcocesati@gmail.com, ross.schm.dev@gmail.com,
	linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: [PATCH 3/4] staging: rtl8192e: rtl8192e: rtl_core: remove unused global variable
Date: Sat,  7 Aug 2021 15:52:31 +0530	[thread overview]
Message-ID: <20210807102232.6674-4-saurav.girepunje@gmail.com> (raw)
In-Reply-To: <20210807102232.6674-1-saurav.girepunje@gmail.com>

Remove unused global variable channels from rtl_core.c

Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com>
---
 drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c
index e85d9c2cdc96..dffae61b517b 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");
-- 
2.30.2


  parent reply	other threads:[~2021-08-07 10:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-07 10:22 [PATCH 0/4] Remove unused variable Saurav Girepunje
2021-08-07 10:22 ` [PATCH 1/4] staging: rtl8188eu: os_dep: " Saurav Girepunje
2021-08-07 14:50   ` Fabio Aiuto
2021-08-07 19:00     ` SAURAV GIREPUNJE
2021-08-07 10:22 ` [PATCH 2/4] staging: rtl8188eu :os_dep :os_intfs : remove " Saurav Girepunje
2021-08-07 10:22 ` Saurav Girepunje [this message]
2021-08-07 10:22 ` [PATCH 4/4] staging: rtl8723bs: os_dep: " Saurav Girepunje

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210807102232.6674-4-saurav.girepunje@gmail.com \
    --to=saurav.girepunje@gmail.com \
    --cc=Larry.Finger@lwfinger.net \
    --cc=apais@linux.microsoft.com \
    --cc=dan.carpenter@oracle.com \
    --cc=fabioaiuto83@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=insafonov@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=marcocesati@gmail.com \
    --cc=martin@kaiser.cx \
    --cc=ross.schm.dev@gmail.com \
    --cc=straube.linux@gmail.com \
    --cc=will+git@drnd.me \
    --cc=yashsri421@gmail.com \
    --subject='Re: [PATCH 3/4] staging: rtl8192e: rtl8192e: rtl_core: remove unused global variable' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).