Commit 4a4c1b7c authored by John Whitmore's avatar John Whitmore Committed by Greg Kroah-Hartman

staging:rtl8192u: Make function rtl8192_phyConfigBB static

The function rtl8192_phyConfigBB is only used in the file in which it
is defined so can be declared static. Additionally the prototype has
been removed from the header file, as it is not used.
Signed-off-by: default avatarJohn Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1d5de994
...@@ -511,7 +511,7 @@ void rtl8192_phy_configmac(struct net_device *dev) ...@@ -511,7 +511,7 @@ void rtl8192_phy_configmac(struct net_device *dev)
* notice: BB parameters may change all the time, so please make * notice: BB parameters may change all the time, so please make
* sure it has been synced with the newest. * sure it has been synced with the newest.
*****************************************************************************/ *****************************************************************************/
void rtl8192_phyConfigBB(struct net_device *dev, u8 ConfigType) static void rtl8192_phyConfigBB(struct net_device *dev, u8 ConfigType)
{ {
u32 i; u32 i;
......
...@@ -52,7 +52,6 @@ u32 rtl8192_phy_QueryRFReg(struct net_device *dev, ...@@ -52,7 +52,6 @@ u32 rtl8192_phy_QueryRFReg(struct net_device *dev,
enum rf90_radio_path_e e_rfpath, enum rf90_radio_path_e e_rfpath,
u32 reg_addr, u32 bitmask); u32 reg_addr, u32 bitmask);
void rtl8192_phy_configmac(struct net_device *dev); void rtl8192_phy_configmac(struct net_device *dev);
void rtl8192_phyConfigBB(struct net_device *dev, u8 ConfigType);
u8 rtl8192_phy_checkBBAndRF(struct net_device *dev, u8 rtl8192_phy_checkBBAndRF(struct net_device *dev,
enum hw90_block_e CheckBlock, enum hw90_block_e CheckBlock,
enum rf90_radio_path_e e_rfpath); enum rf90_radio_path_e e_rfpath);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment