From 5365edb331cf21e6ea81127d6da1f7100fc4610c Mon Sep 17 00:00:00 2001 From: navin patidar Date: Thu, 29 May 2014 23:20:52 +0530 Subject: [PATCH] staging: rtl8188eu: Remove function rtl8188e_silentreset_for_specific_platform() Remove rtl8188e_silentreset_for_specific_platform() and function pointer ->silentreset pointing to it. Signed-off-by: navin patidar Reviewed-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- 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 a0f517244d64..6a9c8e23f267 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 7fb0f68640d7..f907fe047b81 100644 --- a/drivers/staging/rtl8188eu/hal/rtl8188e_sreset.c +++ b/drivers/staging/rtl8188eu/hal/rtl8188e_sreset.c @@ -22,7 +22,4 @@ #include #include -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 bed90354e92a..ca29676d09df 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 eb884b7fd2c4..cade6d77603d 100644 --- a/drivers/staging/rtl8188eu/include/rtl8188e_sreset.h +++ b/drivers/staging/rtl8188eu/include/rtl8188e_sreset.h @@ -24,6 +24,5 @@ #include #include -void rtl8188e_silentreset_for_specific_platform(struct adapter *padapter); #endif -- 2.30.2