mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
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 04/11] staging: rtl8723bs: Remove unused function rf_reg_dump
Date: Tue, 10 Sep 2024 07:57:05 +0200	[thread overview]
Message-ID: <b66d915668366258523095adf388acef945dc0fa.1725826273.git.philipp.g.hortmann@gmail.com> (raw)
In-Reply-To: <cover.1725826273.git.philipp.g.hortmann@gmail.com>

Remove unused function rf_reg_dump.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
---
 drivers/staging/rtl8723bs/core/rtw_debug.c    | 11 -----------
 drivers/staging/rtl8723bs/include/rtw_debug.h |  1 -
 2 files changed, 12 deletions(-)

diff --git a/drivers/staging/rtl8723bs/core/rtw_debug.c b/drivers/staging/rtl8723bs/core/rtw_debug.c
index 5354fdd11c9b..33d27680a276 100644
--- a/drivers/staging/rtl8723bs/core/rtw_debug.c
+++ b/drivers/staging/rtl8723bs/core/rtw_debug.c
@@ -55,14 +55,3 @@ static void dump_4_rf_regs(struct adapter *adapter, int path, int offset)
 	netdev_dbg(adapter->pnetdev, "0x%02x 0x%08x 0x%08x 0x%08x 0x%08x\n",
 		   i, reg[0], reg[1], reg[2], reg[3]);
 }
-
-void rf_reg_dump(struct adapter *adapter)
-{
-	int i, path = 0;
-
-	netdev_dbg(adapter->pnetdev, "======= RF REG =======\n");
-
-	netdev_dbg(adapter->pnetdev, "RF_Path(%x)\n", path);
-	for (i = 0; i < 0x100; i++)
-		dump_4_rf_regs(adapter, path, i);
-}
diff --git a/drivers/staging/rtl8723bs/include/rtw_debug.h b/drivers/staging/rtl8723bs/include/rtw_debug.h
index 7f96ff66915f..f70da9cc66f8 100644
--- a/drivers/staging/rtl8723bs/include/rtw_debug.h
+++ b/drivers/staging/rtl8723bs/include/rtw_debug.h
@@ -9,6 +9,5 @@
 
 void mac_reg_dump(struct adapter *adapter);
 void bb_reg_dump(struct adapter *adapter);
-void rf_reg_dump(struct adapter *adapter);
 
 #endif	/* __RTW_DEBUG_H__ */
-- 
2.46.0


  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 ` Philipp Hortmann [this message]
2024-09-10  5:57 ` [PATCH 05/11] staging: rtl8723bs: Remove unused function dump_4_rf_regs Philipp Hortmann
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=b66d915668366258523095adf388acef945dc0fa.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®