diff options
author | Nishka Dasgupta <[email protected]> | 2019-06-28 16:28:28 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-07-01 10:49:43 +0200 |
commit | 98be8b33c10a1e7bcee3317dd3d3d55bcc9fb0e2 (patch) | |
tree | 917cf76238d8946d2e7f0eecd6faa9bc20e0845b | |
parent | c23beb6dc05227dd0f17be6fd75ec6f12aa491ea (diff) |
staging: rtl8723bs: hal: Remove PHY_RFShadowRecorverFlagSetAll()
Remove unused function PHY_RFShadowRecorverFlagSetAll.
Issue found with Coccinelle.
Signed-off-by: Nishka Dasgupta <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r-- | drivers/staging/rtl8723bs/hal/hal_phy.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/staging/rtl8723bs/hal/hal_phy.c b/drivers/staging/rtl8723bs/hal/hal_phy.c index 0d21e64b8f04..56ac9aa8a98c 100644 --- a/drivers/staging/rtl8723bs/hal/hal_phy.c +++ b/drivers/staging/rtl8723bs/hal/hal_phy.c @@ -179,21 +179,3 @@ void PHY_RFShadowCompareFlagSetAll(IN PADAPTER Adapter) } } /* PHY_RFShadowCompareFlagSetAll */ - - -void PHY_RFShadowRecorverFlagSetAll(IN PADAPTER Adapter) -{ - u8 eRFPath = 0; - u32 Offset = 0, maxReg = GET_RF6052_REAL_MAX_REG(Adapter); - - for (eRFPath = 0; eRFPath < RF6052_MAX_PATH; eRFPath++) { - for (Offset = 0; Offset < maxReg; Offset++) { - /* 2008/11/20 MH For S3S4 test, we only check reg 26/27 now!!!! */ - if (Offset != 0x26 && Offset != 0x27) - PHY_RFShadowRecorverFlagSet(Adapter, eRFPath, Offset, false); - else - PHY_RFShadowRecorverFlagSet(Adapter, eRFPath, Offset, true); - } - } - -} /* PHY_RFShadowCompareFlagSetAll */ |