[PATCH 12/18] staging: rtl8188eu: Remove function rtl8188e_silentreset_for_specific_platform()

From: navin patidar
Date: Thu May 29 2014 - 13:54:17 EST


Remove rtl8188e_silentreset_for_specific_platform() and function pointer
->silentreset pointing to it.

Signed-off-by: navin patidar <navin.patidar@xxxxxxxxx>
---
drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c | 1 -
drivers/staging/rtl8188eu/hal/rtl8188e_sreset.c | 3 ---
drivers/staging/rtl8188eu/include/hal_intf.h | 1 -
drivers/staging/rtl8188eu/include/rtl8188e_sreset.h | 1 -
4 files changed, 6 deletions(-)

diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c b/drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c
index a0f5172..6a9c8e2 100644
--- a/drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c
+++ b/drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c
@@ -1872,7 +1872,6 @@ void rtl8188e_set_hal_ops(struct hal_ops *pHalFunc)
pHalFunc->Efuse_WordEnableDataWrite = &rtl8188e_Efuse_WordEnableDataWrite;

pHalFunc->sreset_init_value = &sreset_init_value;
- pHalFunc->silentreset = &rtl8188e_silentreset_for_specific_platform;
pHalFunc->sreset_get_wifi_status = &sreset_get_wifi_status;

pHalFunc->GetHalODMVarHandler = &rtl8188e_GetHalODMVar;
diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_sreset.c b/drivers/staging/rtl8188eu/hal/rtl8188e_sreset.c
index 7fb0f68..f907fe0 100644
--- a/drivers/staging/rtl8188eu/hal/rtl8188e_sreset.c
+++ b/drivers/staging/rtl8188eu/hal/rtl8188e_sreset.c
@@ -22,7 +22,4 @@
#include <rtl8188e_sreset.h>
#include <rtl8188e_hal.h>

-void rtl8188e_silentreset_for_specific_platform(struct adapter *padapter)
-{
-}

diff --git a/drivers/staging/rtl8188eu/include/hal_intf.h b/drivers/staging/rtl8188eu/include/hal_intf.h
index bed9035..ca29676 100644
--- a/drivers/staging/rtl8188eu/include/hal_intf.h
+++ b/drivers/staging/rtl8188eu/include/hal_intf.h
@@ -252,7 +252,6 @@ struct hal_ops {
u8 word_en, u8 *data, bool test);

void (*sreset_init_value)(struct adapter *padapter);
- void (*silentreset)(struct adapter *padapter);
u8 (*sreset_get_wifi_status)(struct adapter *padapter);

int (*IOL_exec_cmds_sync)(struct adapter *padapter,
diff --git a/drivers/staging/rtl8188eu/include/rtl8188e_sreset.h b/drivers/staging/rtl8188eu/include/rtl8188e_sreset.h
index eb884b7..cade6d7 100644
--- a/drivers/staging/rtl8188eu/include/rtl8188e_sreset.h
+++ b/drivers/staging/rtl8188eu/include/rtl8188e_sreset.h
@@ -24,6 +24,5 @@
#include <drv_types.h>
#include <rtw_sreset.h>

-void rtl8188e_silentreset_for_specific_platform(struct adapter *padapter);

#endif
--
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/