lkml.org 
[lkml]   [2021]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 6/8] staging: r8188eu: remove odm_SwAntDivInit
    Date
    This function is empty, it can be removed.

    Signed-off-by: Martin Kaiser <martin@kaiser.cx>
    ---
    drivers/staging/r8188eu/hal/odm.c | 6 ------
    drivers/staging/r8188eu/include/odm_precomp.h | 1 -
    2 files changed, 7 deletions(-)

    diff --git a/drivers/staging/r8188eu/hal/odm.c b/drivers/staging/r8188eu/hal/odm.c
    index abd0b1c8c5cd..6f0bd678edf6 100644
    --- a/drivers/staging/r8188eu/hal/odm.c
    +++ b/drivers/staging/r8188eu/hal/odm.c
    @@ -172,8 +172,6 @@ void ODM_DMInit(struct odm_dm_struct *pDM_Odm)
    (pDM_Odm->AntDivType == CGCS_RX_HW_ANTDIV) ||
    (pDM_Odm->AntDivType == CG_TRX_SMART_ANTDIV))
    odm_InitHybridAntDiv(pDM_Odm);
    - else if (pDM_Odm->AntDivType == CGCS_RX_SW_ANTDIV)
    - odm_SwAntDivInit(pDM_Odm);
    }

    /* 2011/09/20 MH This is the entry pointer for all team to execute HW out source DM. */
    @@ -1127,10 +1125,6 @@ void odm_TXPowerTrackingCheckAP(struct odm_dm_struct *pDM_Odm)
    /* 3============================================================ */
    /* 3 SW Antenna Diversity */
    /* 3============================================================ */
    -void odm_SwAntDivInit(struct odm_dm_struct *pDM_Odm)
    -{
    -}
    -
    void ODM_SwAntDivChkPerPktRssi(struct odm_dm_struct *pDM_Odm, u8 StationID, struct odm_phy_status_info *pPhyInfo)
    {
    }
    diff --git a/drivers/staging/r8188eu/include/odm_precomp.h b/drivers/staging/r8188eu/include/odm_precomp.h
    index 1340b3df1181..aa1328abdfcc 100644
    --- a/drivers/staging/r8188eu/include/odm_precomp.h
    +++ b/drivers/staging/r8188eu/include/odm_precomp.h
    @@ -47,7 +47,6 @@ void odm_RefreshRateAdaptiveMaskMP(struct odm_dm_struct *pDM_Odm);
    void odm_SwAntDivChkAntSwitch(struct odm_dm_struct *pDM_Odm, u8 Step);
    void odm_EdcaTurboCheck(struct odm_dm_struct *pDM_Odm);
    void odm_CommonInfoSelfInit(struct odm_dm_struct *pDM_Odm);
    -void odm_SwAntDivInit(struct odm_dm_struct *pDM_Odm);
    void odm_RSSIMonitorCheck(struct odm_dm_struct *pDM_Odm);
    void odm_RefreshRateAdaptiveMask(struct odm_dm_struct *pDM_Odm);
    void odm_RefreshRateAdaptiveMaskCE(struct odm_dm_struct *pDM_Odm);
    --
    2.20.1
    \
     
     \ /
      Last update: 2021-10-11 22:13    [W:3.105 / U:0.232 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site