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
Subject: [PATCH 05/11] staging: rtl8723bs: Remove unused function dump_4_rf_regs
Date: Tue, 10 Sep 2024 07:57:13 +0200 [thread overview]
Message-ID: <b660342da763d1e03c44f2b3fdac0378b077e6b9.1725826273.git.philipp.g.hortmann@gmail.com> (raw)
In-Reply-To: <cover.1725826273.git.philipp.g.hortmann@gmail.com>
Remove unused function dump_4_rf_regs.
Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
---
drivers/staging/rtl8723bs/core/rtw_debug.c | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/drivers/staging/rtl8723bs/core/rtw_debug.c b/drivers/staging/rtl8723bs/core/rtw_debug.c
index 33d27680a276..0edd7b6e4f21 100644
--- a/drivers/staging/rtl8723bs/core/rtw_debug.c
+++ b/drivers/staging/rtl8723bs/core/rtw_debug.c
@@ -42,16 +42,3 @@ void bb_reg_dump(struct adapter *adapter)
for (i = 0x800; i < 0x1000 ; i += 4)
dump_4_regs(adapter, i);
}
-
-static void dump_4_rf_regs(struct adapter *adapter, int path, int offset)
-{
- u8 reg[4];
- int i;
-
- for (i = 0; i < 4; i++)
- reg[i] = rtw_hal_read_rfreg(adapter, path, offset + i,
- 0xffffffff);
-
- netdev_dbg(adapter->pnetdev, "0x%02x 0x%08x 0x%08x 0x%08x 0x%08x\n",
- i, reg[0], reg[1], reg[2], reg[3]);
-}
--
2.46.0
next prev parent reply other threads:[~2024-09-10 5:57 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-10 5:56 [PATCH 00/11] staging: rtl8723bs: Remove unused functions starting with RTW_DISABLE_FUNC Philipp Hortmann
2024-09-10 5:56 ` [PATCH 01/11] staging: rtl8723bs: Remove unused function RTW_DISABLE_FUNC Philipp Hortmann
2024-09-10 5:56 ` [PATCH 02/11] staging: rtl8723bs: Remove unused function rxmem_to_recvframe Philipp Hortmann
2024-09-10 5:56 ` [PATCH 03/11] staging: rtl8723bs: Remove unused function rtw_hal_get_odm_var Philipp Hortmann
2024-09-10 5:57 ` [PATCH 04/11] staging: rtl8723bs: Remove unused function rf_reg_dump Philipp Hortmann
2024-09-10 5:57 ` Philipp Hortmann [this message]
2024-09-10 5:57 ` [PATCH 06/11] staging: rtl8723bs: Remove unused function bb_reg_dump Philipp Hortmann
2024-09-10 5:57 ` [PATCH 07/11] staging: rtl8723bs: Remove unused function mac_reg_dump Philipp Hortmann
2024-09-10 5:57 ` [PATCH 08/11] staging: rtl8723bs: Remove unused function dump_4_regs Philipp Hortmann
2024-09-10 5:57 ` [PATCH 09/11] staging: rtl8723bs: Remove unused files rtw_debug.c and rtw_debug.h Philipp Hortmann
2024-09-10 5:57 ` [PATCH 10/11] staging: rtl8723bs: Remove unused function rtw_ch2freq Philipp Hortmann
2024-09-10 5:58 ` [PATCH 11/11] staging: rtl8723bs: Remove unused file rtw_rf.c Philipp Hortmann
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=b660342da763d1e03c44f2b3fdac0378b077e6b9.1725826273.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®