Skip to contentSkip to conversation

staging: rtl8723bs: remove unused rtl8192c function declarations

PATCH In review Jad Keskes 2 participants 2 messages Jul 8 – Jul 10 Staging

lore
Share & tools
lore

Jad Keskes

author
#0 lore raw

PATCH 1/1 staging: rtl8723bs: remove unused rtl8192c function declarations

Remove two function declarations from rtl8192c_recv.h that have no implementation and are never called in the rtl8723bs driver:

- rtl8192c_translate_rx_signal_stuff()
- rtl8192c_query_rx_desc_status()

These are leftovers from the original Realtek multi-chip codebase and relate to the RTL8192C family, not the RTL8723B.

---
v2: Added changelog below the --- line

 drivers/staging/rtl8723bs/include/rtl8192c_recv.h | 3 ---
 1 file changed, 3 deletions(-)
drivers/staging/rtl8723bs/include/rtl8192c_recv.h +0 -3
index 1f86654f0403..b63625ab4e45 100644
@@ -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
Signature · 1 line
2.55.0
#1 lore raw
Quoted 32 lines · Jad Keskes

Remove two function declarations from rtl8192c_recv.h that have no implementation and are never called in the rtl8723bs driver:

- rtl8192c_translate_rx_signal_stuff()
- rtl8192c_query_rx_desc_status()

These are leftovers from the original Realtek multi-chip codebase and relate to the RTL8192C family, not the RTL8723B.

---
v2: Added changelog below the --- line

 drivers/staging/rtl8723bs/include/rtl8192c_recv.h | 3 ---
 1 file changed, 3 deletions(-)
drivers/staging/rtl8723bs/include/rtl8192c_recv.h +0 -3
index 1f86654f0403..b63625ab4e45 100644
@@ -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
Signature · 1 line
2.55.0

Someone already sent this before you did, sorry.

greg k-h