staging: rtl8188eu: Remove unused wrapper function rtw_hal_write_bbreg()
authornavin patidar <navin.patidar@gmail.com>
Sun, 31 Aug 2014 06:44:18 +0000 (12:14 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 31 Aug 2014 19:57:40 +0000 (12:57 -0700)
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/hal_intf.c
drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c
drivers/staging/rtl8188eu/include/hal_intf.h

index 0d21e604e0084b00306e6cb070bb2a05e4433438..538a0f65d09cbe3f8cbca68631a04025daa4d241 100644 (file)
@@ -256,13 +256,6 @@ void rtw_hal_add_ra_tid(struct adapter *adapt, u32 bitmap, u8 arg,
                                               rssi_level);
 }
 
-void rtw_hal_write_bbreg(struct adapter *adapt, u32 regaddr, u32 bitmask,
-                        u32 data)
-{
-       if (adapt->HalFunc.write_bbreg)
-               adapt->HalFunc.write_bbreg(adapt, regaddr, bitmask, data);
-}
-
 u32 rtw_hal_read_rfreg(struct adapter *adapt, enum rf_radio_path rfpath,
                       u32 regaddr, u32 bitmask)
 {
index 204d2e42fc8e2d6348ea095ecbb65acd6d4bf3ca..ae7cb8d0fedf49df4958ace902a8e3a25d75a242 100644 (file)
@@ -230,7 +230,6 @@ void rtl8188e_set_hal_ops(struct hal_ops *pHalFunc)
 
        pHalFunc->AntDivBeforeLinkHandler = &AntDivBeforeLink8188E;
        pHalFunc->AntDivCompareHandler = &AntDivCompare8188E;
-       pHalFunc->write_bbreg = &rtl8188e_PHY_SetBBReg;
        pHalFunc->read_rfreg = &rtl8188e_PHY_QueryRFReg;
        pHalFunc->write_rfreg = &rtl8188e_PHY_SetRFReg;
 
index 606fd608820ae24c210bd3f41c4872a360ddefad..9191993dd3f56363d4efb2c535703c8fea94e3af 100644 (file)
@@ -213,8 +213,6 @@ struct hal_ops {
                            struct xmit_frame *pxmitframe);
        s32 (*mgnt_xmit)(struct adapter *padapter,
                         struct xmit_frame *pmgntframe);
-       void    (*write_bbreg)(struct adapter *padapter, u32 RegAddr,
-                              u32 BitMask, u32 Data);
        u32     (*read_rfreg)(struct adapter *padapter,
                              enum rf_radio_path eRFPath, u32 RegAddr,
                              u32 BitMask);
@@ -300,8 +298,6 @@ void        rtw_hal_clone_data(struct adapter *dst_adapt,
 
 void rtw_hal_bcn_related_reg_setting(struct adapter *padapter);
 
-void   rtw_hal_write_bbreg(struct adapter *padapter, u32 RegAddr, u32 BitMask,
-                           u32 Data);
 u32    rtw_hal_read_rfreg(struct adapter *padapter, enum rf_radio_path eRFPath,
                           u32 RegAddr, u32 BitMask);
 void   rtw_hal_write_rfreg(struct adapter *padapter,