From: Philipp Hortmann <philipp.g.hortmann@gmail.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org
Cc: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Subject: [PATCH 04/17] staging: rtl8723bs: Remove unused function rtw_get_oper_choffset
Date: Sun, 15 Sep 2024 08:38:18 +0200 [thread overview]
Message-ID: <23623deed7bb225c614693d9b871e2d6f49744a0.1726339782.git.philipp.g.hortmann@gmail.com> (raw)
In-Reply-To: <cover.1726339782.git.philipp.g.hortmann@gmail.com>
Remove unused function rtw_get_oper_choffset.
Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
---
drivers/staging/rtl8723bs/core/rtw_wlan_util.c | 5 -----
drivers/staging/rtl8723bs/include/rtw_mlme_ext.h | 1 -
2 files changed, 6 deletions(-)
diff --git a/drivers/staging/rtl8723bs/core/rtw_wlan_util.c b/drivers/staging/rtl8723bs/core/rtw_wlan_util.c
index 85215838a004..a4cc48989445 100644
--- a/drivers/staging/rtl8723bs/core/rtw_wlan_util.c
+++ b/drivers/staging/rtl8723bs/core/rtw_wlan_util.c
@@ -300,11 +300,6 @@ inline void rtw_set_oper_bw(struct adapter *adapter, u8 bw)
adapter_to_dvobj(adapter)->oper_bwmode = bw;
}
-inline u8 rtw_get_oper_choffset(struct adapter *adapter)
-{
- return adapter_to_dvobj(adapter)->oper_ch_offset;
-}
-
inline void rtw_set_oper_choffset(struct adapter *adapter, u8 offset)
{
adapter_to_dvobj(adapter)->oper_ch_offset = offset;
diff --git a/drivers/staging/rtl8723bs/include/rtw_mlme_ext.h b/drivers/staging/rtl8723bs/include/rtw_mlme_ext.h
index ba39435d1a10..479e90ff336c 100644
--- a/drivers/staging/rtl8723bs/include/rtw_mlme_ext.h
+++ b/drivers/staging/rtl8723bs/include/rtw_mlme_ext.h
@@ -449,7 +449,6 @@ u8 rtw_get_oper_ch(struct adapter *adapter);
void rtw_set_oper_ch(struct adapter *adapter, u8 ch);
u8 rtw_get_oper_bw(struct adapter *adapter);
void rtw_set_oper_bw(struct adapter *adapter, u8 bw);
-u8 rtw_get_oper_choffset(struct adapter *adapter);
void rtw_set_oper_choffset(struct adapter *adapter, u8 offset);
u8 rtw_get_center_ch(u8 channel, u8 chnl_bw, u8 chnl_offset);
unsigned long rtw_get_on_cur_ch_time(struct adapter *adapter);
--
2.43.0
next prev parent reply other threads:[~2024-09-15 6:41 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-15 6:38 [PATCH 00/17] staging: rtl8723bs: Remove unused functions including read_cam Philipp Hortmann
2024-09-15 6:38 ` [PATCH 01/17] staging: rtl8723bs: Remove unused function dvobj_get_port0_adapter Philipp Hortmann
2024-09-15 6:38 ` [PATCH 02/17] staging: rtl8723bs: Remove unused function rtw_search_max_mac_id Philipp Hortmann
2024-09-15 6:38 ` [PATCH 03/17] staging: rtl8723bs: Remove unused function read_cam Philipp Hortmann
2024-09-15 6:38 ` Philipp Hortmann [this message]
2024-09-15 6:38 ` [PATCH 05/17] staging: rtl8723bs: Remove unused function rtw_get_oper_bw Philipp Hortmann
2024-09-15 6:38 ` [PATCH 06/17] staging: rtl8723bs: Remove unused function _ReadCAM Philipp Hortmann
2024-09-15 6:38 ` [PATCH 07/17] staging: rtl8723bs: Remove unused entries from struct hal_ops Philipp Hortmann
2024-09-15 6:38 ` [PATCH 08/17] staging: rtl8723bs: Remove unused function PHY_SetBWMode8723B Philipp Hortmann
2024-09-15 6:38 ` [PATCH 09/17] staging: rtl8723bs: Remove unused function PHY_GetTxPowerLevel8723B Philipp Hortmann
2024-09-15 6:38 ` [PATCH 10/17] staging: rtl8723bs: Remove unused function Hal_BT_EfusePowerSwitch Philipp Hortmann
2024-09-15 6:38 ` [PATCH 11/17] staging: rtl8723bs: Remove unused function rtl8723b_GetHalODMVar Philipp Hortmann
2024-09-15 6:38 ` [PATCH 12/17] staging: rtl8723bs: Remove unused function GetHalODMVar Philipp Hortmann
2024-09-15 6:38 ` [PATCH 13/17] staging: rtl8723bs: Remove unused function rtl8723bs_inirp_init Philipp Hortmann
2024-09-15 6:38 ` [PATCH 14/17] staging: rtl8723bs: Remove unused function rtl8723bs_inirp_deinit Philipp Hortmann
2024-09-15 6:38 ` [PATCH 15/17] staging: rtl8723bs: Remove constant result macro is_primary_adapter Philipp Hortmann
2024-09-15 6:38 ` [PATCH 16/17] staging: rtl8723bs: Remove constant result macro get_iface_type Philipp Hortmann
2024-09-15 6:38 ` [PATCH 17/17] staging: rtl8723bs: Remove unused enum with first entry IFACE_PORT0 Philipp Hortmann
2024-09-15 14:44 ` [PATCH 00/17] staging: rtl8723bs: Remove unused functions including read_cam Dan Carpenter
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=23623deed7bb225c614693d9b871e2d6f49744a0.1726339782.git.philipp.g.hortmann@gmail.com \
--to=philipp.g.hortmann@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
/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®