diff mbox series

b43: remove dead function b43_rssinoise_postprocess()

Message ID 20200507110741.37757-1-yanaijie@huawei.com (mailing list archive)
State Accepted
Commit f2cd32a443da694ac4e28fbf4ac6f9d5cc63a539
Delegated to: Kalle Valo
Headers show
Series b43: remove dead function b43_rssinoise_postprocess() | expand

Commit Message

Jason Yan May 7, 2020, 11:07 a.m. UTC
This function is dead for more than 10 years. Remove it.

Signed-off-by: Jason Yan <yanaijie@huawei.com>
---
 drivers/net/wireless/broadcom/b43/xmit.c | 13 -------------
 1 file changed, 13 deletions(-)

Comments

Kalle Valo May 12, 2020, 8:54 a.m. UTC | #1
Jason Yan <yanaijie@huawei.com> wrote:

> This function is dead for more than 10 years. Remove it.
> 
> Signed-off-by: Jason Yan <yanaijie@huawei.com>

Patch applied to wireless-drivers-next.git, thanks.

f2cd32a443da rndis_wlan: Remove logically dead code
diff mbox series

Patch

diff --git a/drivers/net/wireless/broadcom/b43/xmit.c b/drivers/net/wireless/broadcom/b43/xmit.c
index 058745219516..55babc6d1091 100644
--- a/drivers/net/wireless/broadcom/b43/xmit.c
+++ b/drivers/net/wireless/broadcom/b43/xmit.c
@@ -629,19 +629,6 @@  static s8 b43_rssi_postprocess(struct b43_wldev *dev,
 	return (s8) tmp;
 }
 
-//TODO
-#if 0
-static s8 b43_rssinoise_postprocess(struct b43_wldev *dev, u8 in_rssi)
-{
-	struct b43_phy *phy = &dev->phy;
-	s8 ret;
-
-	ret = b43_rssi_postprocess(dev, in_rssi, 0, 1, 1);
-
-	return ret;
-}
-#endif
-
 void b43_rx(struct b43_wldev *dev, struct sk_buff *skb, const void *_rxhdr)
 {
 	struct ieee80211_rx_status status;