From cf6e53a118ac5a8aef2e01d511992b5c24e8688c Mon Sep 17 00:00:00 2001 From: Michael Straube Date: Sat, 11 Sep 2021 15:26:28 +0200 Subject: [PATCH] staging: r8188eu: remove unused ODM_IsWorkItemScheduled() Function ODM_IsWorkItemScheduled() is unused and empty, remove it. Acked-by: Martin Kaiser Signed-off-by: Michael Straube Link: https://lore.kernel.org/r/20210911132635.30369-12-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman --- drivers/staging/r8188eu/hal/odm_interface.c | 5 ----- drivers/staging/r8188eu/include/odm_interface.h | 3 --- 2 files changed, 8 deletions(-) diff --git a/drivers/staging/r8188eu/hal/odm_interface.c b/drivers/staging/r8188eu/hal/odm_interface.c index c4ab858..7fd4505 100644 --- a/drivers/staging/r8188eu/hal/odm_interface.c +++ b/drivers/staging/r8188eu/hal/odm_interface.c @@ -93,11 +93,6 @@ s32 ODM_CompareMemory(struct odm_dm_struct *pDM_Odm, void *pBuf1, void *pBuf2, u return !memcmp(pBuf1, pBuf2, length); } -/* Work item relative API. FOr MP driver only~! */ -void ODM_IsWorkItemScheduled(void *pRtWorkItem) -{ -} - /* ODM Timer relative API. */ void ODM_StallExecution(u32 usDelay) { diff --git a/drivers/staging/r8188eu/include/odm_interface.h b/drivers/staging/r8188eu/include/odm_interface.h index 65749c2..f6c23fd 100644 --- a/drivers/staging/r8188eu/include/odm_interface.h +++ b/drivers/staging/r8188eu/include/odm_interface.h @@ -95,9 +95,6 @@ void ODM_FreeMemory(struct odm_dm_struct *pDM_Odm, void *pPtr, u32 length); s32 ODM_CompareMemory(struct odm_dm_struct *pDM_Odm, void *pBuf1, void *pBuf2, u32 length); -/* ODM MISC-workitem relative API. */ -void ODM_IsWorkItemScheduled(void *pRtWorkItem); - /* ODM Timer relative API. */ void ODM_StallExecution(u32 usDelay); -- 2.7.4