[PATCH 08/18] staging: r8188eu: remove unused ODM_StopWorkItem()

From: Michael Straube
Date: Sat Sep 11 2021 - 09:29:27 EST


Function ODM_StopWorkItem() is unused and empty, remove it.

Signed-off-by: Michael Straube <straube.linux@xxxxxxxxx>
---
drivers/staging/r8188eu/hal/odm_interface.c | 4 ----
drivers/staging/r8188eu/include/odm_interface.h | 2 --
2 files changed, 6 deletions(-)

diff --git a/drivers/staging/r8188eu/hal/odm_interface.c b/drivers/staging/r8188eu/hal/odm_interface.c
index 2ec73d998f0a..bd9d9f832eaf 100644
--- a/drivers/staging/r8188eu/hal/odm_interface.c
+++ b/drivers/staging/r8188eu/hal/odm_interface.c
@@ -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)
{
}
diff --git a/drivers/staging/r8188eu/include/odm_interface.h b/drivers/staging/r8188eu/include/odm_interface.h
index febdbe7548ba..5ed4061d2f48 100644
--- a/drivers/staging/r8188eu/include/odm_interface.h
+++ b/drivers/staging/r8188eu/include/odm_interface.h
@@ -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);
--
2.33.0