staging: r8188eu: remove unused ODM_StopWorkItem()
authorMichael Straube <straube.linux@gmail.com>
Sat, 11 Sep 2021 13:26:25 +0000 (15:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Sep 2021 06:49:57 +0000 (08:49 +0200)
Function ODM_StopWorkItem() is unused and empty, 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-9-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 2ec73d9..bd9d9f8 100644 (file)
@@ -94,10 +94,6 @@ s32 ODM_CompareMemory(struct odm_dm_struct *pDM_Odm, void *pBuf1, void *pBuf2, u
 }
 
 /*  Work item relative API. FOr MP driver only~! */
-void ODM_StopWorkItem(void *pRtWorkItem)
-{
-}
-
 void ODM_FreeWorkItem(void *pRtWorkItem)
 {
 }
index febdbe7..5ed4061 100644 (file)
@@ -96,8 +96,6 @@ s32 ODM_CompareMemory(struct odm_dm_struct *pDM_Odm, void *pBuf1, void *pBuf2,
                      u32 length);
 
 /*  ODM MISC-workitem relative API. */
-void ODM_StopWorkItem(void *pRtWorkItem);
-
 void ODM_FreeWorkItem(void *pRtWorkItem);
 
 void ODM_ScheduleWorkItem(void *pRtWorkItem);