* [PATCH v2] staging: rtl8723bs: remove unused function declarations
@ 2026-06-22 13:04 Aditya Chari
0 siblings, 0 replies; only message in thread
From: Aditya Chari @ 2026-06-22 13:04 UTC (permalink / raw)
To: gregkh; +Cc: broonie, linux-staging, linux-kernel, Aditya Chari
rtl8192c_translate_rx_signal_stuff() and rtl8192c_query_rx_desc_status()
are declared in rtl8192c_recv.h but have no implementation and no
caller anywhere in the kernel tree. They are leftover from when this
driver was derived from Realtek's shared vendor codebase covering
multiple chip families.
Verified via grep across the full tree that neither symbol is
referenced outside this declaration, and confirmed via a full build
of the module before and after removal that no warnings or errors
are introduced.
This addresses the "find and remove any code for other chips that is
left over" item in the driver's TODO file.
Signed-off-by: Aditya Chari <adi25charis@gmail.com>
------------------------------------------------------------------
Changes since v1:
- Rebased onto linux-next as requested by Dan Carpenter
---
drivers/staging/rtl8723bs/include/rtl8192c_recv.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/staging/rtl8723bs/include/rtl8192c_recv.h b/drivers/staging/rtl8723bs/include/rtl8192c_recv.h
index 1f86654f0..b63625ab4 100644
--- a/drivers/staging/rtl8723bs/include/rtl8192c_recv.h
+++ b/drivers/staging/rtl8723bs/include/rtl8192c_recv.h
@@ -30,7 +30,4 @@ struct phy_stat {
/* Rx smooth factor */
#define Rx_Smooth_Factor (20)
-void rtl8192c_translate_rx_signal_stuff(union recv_frame *precvframe, struct phy_stat *pphy_status);
-void rtl8192c_query_rx_desc_status(union recv_frame *precvframe, struct recv_stat *pdesc);
-
#endif
--
2.53.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-23 16:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-22 13:04 [PATCH v2] staging: rtl8723bs: remove unused function declarations Aditya Chari
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox