OSDN Git Service

staging: r8188eu: remove unused ODM_RASupport_Init()
authorMichael Straube <straube.linux@gmail.com>
Thu, 16 Sep 2021 08:29:05 +0000 (10:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Sep 2021 14:30:41 +0000 (16:30 +0200)
Function ODM_RASupport_Init() is unused, remove it.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210916082906.25294-1-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/Hal8188ERateAdaptive.c
drivers/staging/r8188eu/include/Hal8188ERateAdaptive.h

index d873672..8a6cb18 100644 (file)
@@ -471,16 +471,6 @@ odm_RATxRPTTimerSetting(
        }
 }
 
-void
-ODM_RASupport_Init(
-               struct odm_dm_struct *dm_odm
-       )
-{
-       /*  2012/02/14 MH Be noticed, the init must be after IC type is recognized!!!!! */
-       if (dm_odm->SupportICType == ODM_RTL8188E)
-               dm_odm->RaSupport88E = true;
-}
-
 int ODM_RAInfo_Init(struct odm_dm_struct *dm_odm, u8 macid)
 {
        struct odm_ra_info *pRaInfo = &dm_odm->RAInfo[macid];
index d5ced50..20d73ca 100644 (file)
@@ -37,8 +37,6 @@
        LE_BITS_TO_1BYTE(__paddr + 6, 0, 8)
 /*  End rate adaptive define */
 
-void ODM_RASupport_Init(struct odm_dm_struct *dm_odm);
-
 int ODM_RAInfo_Init_all(struct odm_dm_struct *dm_odm);
 
 int ODM_RAInfo_Init(struct odm_dm_struct *dm_odm, u8 MacID);