staging: rtl8188eu: Remove dummy rtl8188e_GetHalODMVar() and its wrapper
authornavin patidar <navin.patidar@gmail.com>
Sun, 22 Jun 2014 08:19:23 +0000 (13:49 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2014 00:27:11 +0000 (20:27 -0400)
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 1afc56690c3c78d00b13591d58bff705666c5266..bcd9c4d101754addac905dffd140eef565e13957 100644 (file)
@@ -156,15 +156,6 @@ void rtw_hal_set_odm_var(struct adapter *adapt,
                                                      val1, set);
 }
 
-void rtw_hal_get_odm_var(struct adapter *adapt,
-                        enum hal_odm_variable var, void *val1,
-                        bool set)
-{
-       if (adapt->HalFunc.GetHalODMVarHandler)
-               adapt->HalFunc.GetHalODMVarHandler(adapt, var,
-                                                     val1, set);
-}
-
 void rtw_hal_enable_interrupt(struct adapter *adapt)
 {
        if (adapt->HalFunc.enable_interrupt)
index 4d3ea7c381f1835f903ac2d6c30f9b98beda058c..9ce036e5d231222b39fd33d53d18b8f8dd068b81 100644 (file)
@@ -544,10 +544,6 @@ static void rtl8188e_read_chip_version(struct adapter *padapter)
        ReadChipVersion8188E(padapter);
 }
 
-static void rtl8188e_GetHalODMVar(struct adapter *Adapter, enum hal_odm_variable eVariable, void *pValue1, bool bSet)
-{
-}
-
 static void rtl8188e_SetHalODMVar(struct adapter *Adapter, enum hal_odm_variable eVariable, void *pValue1, bool bSet)
 {
        struct hal_data_8188e   *pHalData = GET_HAL_DATA(Adapter);
@@ -622,7 +618,6 @@ void rtl8188e_set_hal_ops(struct hal_ops *pHalFunc)
        pHalFunc->sreset_init_value = &sreset_init_value;
        pHalFunc->sreset_get_wifi_status  = &sreset_get_wifi_status;
 
-       pHalFunc->GetHalODMVarHandler = &rtl8188e_GetHalODMVar;
        pHalFunc->SetHalODMVarHandler = &rtl8188e_SetHalODMVar;
 
        pHalFunc->IOL_exec_cmds_sync = &rtl8188e_IOL_exec_cmds_sync;
index a86b3f848396114ac6eb3b384deca8b4f3a4f74a..482d0f3f45a2f58259592dbcac16f462711db585 100644 (file)
@@ -197,9 +197,6 @@ struct hal_ops {
                                       enum hal_def_variable eVariable,
                                       void *pValue);
 
-       void    (*GetHalODMVarHandler)(struct adapter *padapter,
-                                      enum hal_odm_variable eVariable,
-                                      void *pValue1, bool bSet);
        void    (*SetHalODMVarHandler)(struct adapter *padapter,
                                       enum hal_odm_variable eVariable,
                                       void *pValue1, bool bSet);
@@ -295,9 +292,6 @@ u8 rtw_hal_get_def_var(struct adapter *padapter,
 void rtw_hal_set_odm_var(struct adapter *padapter,
                         enum hal_odm_variable eVariable, void *pValue1,
                         bool bSet);
-void rtw_hal_get_odm_var(struct adapter *padapter,
-                        enum hal_odm_variable eVariable,
-                        void *pValue1, bool bSet);
 
 void rtw_hal_enable_interrupt(struct adapter *padapter);
 void rtw_hal_disable_interrupt(struct adapter *padapter);