From: Abdun Nihaal <abdun.nihaal@gmail.com>
To: gregkh@linuxfoundation.org
Cc: Larry.Finger@lwfinger.net, phil@philpotter.co.uk,
straube.linux@gmail.com, martin@kaiser.cx,
linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev,
Abdun Nihaal <abdun.nihaal@gmail.com>
Subject: [PATCH 2/9] staging: r8188eu: remove empty function rtw_get_encrypt_decrypt_from_registrypriv
Date: Wed, 9 Feb 2022 22:06:00 +0530 [thread overview]
Message-ID: <3d84df54e73b49464d2a0732b44acdb71687b3b1.1644422181.git.abdun.nihaal@gmail.com> (raw)
In-Reply-To: <cover.1644422181.git.abdun.nihaal@gmail.com>
The definition of function rtw_get_encrypt_decrypt_from_registrypriv is
empty. Remove it.
Signed-off-by: Abdun Nihaal <abdun.nihaal@gmail.com>
---
drivers/staging/r8188eu/core/rtw_mlme.c | 7 -------
drivers/staging/r8188eu/include/rtw_mlme.h | 2 --
2 files changed, 9 deletions(-)
diff --git a/drivers/staging/r8188eu/core/rtw_mlme.c b/drivers/staging/r8188eu/core/rtw_mlme.c
index 038bddc361c3..e1e358c94ea4 100644
--- a/drivers/staging/r8188eu/core/rtw_mlme.c
+++ b/drivers/staging/r8188eu/core/rtw_mlme.c
@@ -1020,8 +1020,6 @@ void rtw_joinbss_event_prehandle(struct adapter *adapter, u8 *pbuf)
struct wlan_network *pcur_wlan = NULL, *ptarget_wlan = NULL;
unsigned int the_same_macaddr = false;
- rtw_get_encrypt_decrypt_from_registrypriv(adapter);
-
the_same_macaddr = !memcmp(pnetwork->network.MacAddress, cur_network->network.MacAddress, ETH_ALEN);
pnetwork->network.Length = get_wlan_bssid_ex_sz(&pnetwork->network);
@@ -1857,11 +1855,6 @@ void rtw_update_registrypriv_dev_network(struct adapter *adapter)
}
-void rtw_get_encrypt_decrypt_from_registrypriv(struct adapter *adapter)
-{
-
-}
-
/* the function is at passive_level */
void rtw_joinbss_reset(struct adapter *padapter)
{
diff --git a/drivers/staging/r8188eu/include/rtw_mlme.h b/drivers/staging/r8188eu/include/rtw_mlme.h
index ed2a50bad66e..1e16fa615b94 100644
--- a/drivers/staging/r8188eu/include/rtw_mlme.h
+++ b/drivers/staging/r8188eu/include/rtw_mlme.h
@@ -549,8 +549,6 @@ void rtw_init_registrypriv_dev_network(struct adapter *adapter);
void rtw_update_registrypriv_dev_network(struct adapter *adapter);
-void rtw_get_encrypt_decrypt_from_registrypriv(struct adapter *adapter);
-
void _rtw_join_timeout_handler(struct adapter *adapter);
void rtw_scan_timeout_handler(struct adapter *adapter);
--
2.34.1
next prev parent reply other threads:[~2022-02-09 16:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-09 16:35 [PATCH 0/9] staging: r8188eu: set of simple cleanups Abdun Nihaal
2022-02-09 16:35 ` [PATCH 1/9] staging: r8188eu: remove unused struct zero_bulkout_context Abdun Nihaal
2022-02-09 16:36 ` Abdun Nihaal [this message]
2022-02-09 16:36 ` [PATCH 3/9] staging: r8188eu: remove empty function rtw_mfree_mlme_priv_lock Abdun Nihaal
2022-02-09 16:36 ` [PATCH 4/9] staging: r8188eu: remove empty function _InitOperationMode Abdun Nihaal
2022-02-09 16:36 ` [PATCH 5/9] staging: r8188eu: remove empty function __nat25_db_print Abdun Nihaal
2022-02-09 16:36 ` [PATCH 6/9] staging: r8188eu: remove unused argument in __nat25_has_expired Abdun Nihaal
2022-02-09 16:36 ` [PATCH 7/9] staging: r8188eu: remove unused argument in on_action_public_default Abdun Nihaal
2022-02-09 16:36 ` [PATCH 8/9] staging: r8188eu: remove unused argument in chk_ap_is_alive Abdun Nihaal
2022-02-09 16:36 ` [PATCH 9/9] staging: r8188eu: remove unused macros in sta_info.h Abdun Nihaal
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=3d84df54e73b49464d2a0732b44acdb71687b3b1.1644422181.git.abdun.nihaal@gmail.com \
--to=abdun.nihaal@gmail.com \
--cc=Larry.Finger@lwfinger.net \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=martin@kaiser.cx \
--cc=phil@philpotter.co.uk \
--cc=straube.linux@gmail.com \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®