staging: r8188eu: remove unused ODM_SetTimer()
authorMichael Straube <straube.linux@gmail.com>
Sat, 11 Sep 2021 13:26:29 +0000 (15:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Sep 2021 06:49:57 +0000 (08:49 +0200)
Function ODM_SetTimer() is unused, remove it.

Acked-by: Martin Kaiser <martin@kaiser.cx>
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210911132635.30369-13-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/odm_interface.c
drivers/staging/r8188eu/include/odm_interface.h

index 7fd4505..31888a6 100644 (file)
@@ -114,11 +114,6 @@ void ODM_sleep_ms(u32 ms)
        msleep(ms);
 }
 
-void ODM_SetTimer(struct odm_dm_struct *pDM_Odm, struct timer_list *pTimer, u32 msDelay)
-{
-       _set_timer(pTimer, msDelay); /* ms */
-}
-
 void ODM_CancelTimer(struct odm_dm_struct *pDM_Odm, struct timer_list *pTimer)
 {
        _cancel_timer_ex(pTimer);
index f6c23fd..ce9e4d8 100644 (file)
@@ -104,9 +104,6 @@ void ODM_delay_us(u32 us);
 
 void ODM_sleep_ms(u32 ms);
 
-void ODM_SetTimer(struct odm_dm_struct *pDM_Odm, struct timer_list *pTimer,
-                 u32 msDelay);
-
 void ODM_InitializeTimer(struct odm_dm_struct *pDM_Odm,
                         struct timer_list *pTimer, void *CallBackFunc,
                         void *pContext, const char *szID);