From: navin patidar Date: Sun, 18 May 2014 15:19:11 +0000 (+0530) Subject: staging: rtl8188eu: Remove unused function odm_DynamicBBPowerSavingInit() X-Git-Tag: next-20140530~19^2~387 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=06dd47e3b6342f191fb1e6cfdfdacebc37088af2;p=karo-tx-linux.git staging: rtl8188eu: Remove unused function odm_DynamicBBPowerSavingInit() Signed-off-by: navin patidar Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8188eu/hal/odm.c b/drivers/staging/rtl8188eu/hal/odm.c index 2e105b4b1646..e8ad880ec690 100644 --- a/drivers/staging/rtl8188eu/hal/odm.c +++ b/drivers/staging/rtl8188eu/hal/odm.c @@ -848,21 +848,6 @@ void ODM_Write_CCK_CCA_Thres(struct odm_dm_struct *pDM_Odm, u8 CurCCK_CCAThres) pDM_DigTable->CurCCK_CCAThres = CurCCK_CCAThres; } -/* 3============================================================ */ -/* 3 BB Power Save */ -/* 3============================================================ */ -void odm_DynamicBBPowerSavingInit(struct odm_dm_struct *pDM_Odm) -{ - struct rtl_ps *pDM_PSTable = &pDM_Odm->DM_PSTable; - - pDM_PSTable->PreCCAState = CCA_MAX; - pDM_PSTable->CurCCAState = CCA_MAX; - pDM_PSTable->PreRFState = RF_MAX; - pDM_PSTable->CurRFState = RF_MAX; - pDM_PSTable->Rssi_val_min = 0; - pDM_PSTable->initialize = 0; -} - void odm_1R_CCA(struct odm_dm_struct *pDM_Odm) { struct adapter *adapter = pDM_Odm->Adapter;