Messages in this thread Patch in this message | | | From | Michael Straube <> | Subject | [PATCH 11/18] staging: r8188eu: remove unused ODM_IsWorkItemScheduled() | Date | Sat, 11 Sep 2021 15:26:28 +0200 |
| |
Function ODM_IsWorkItemScheduled() is unused and empty, remove it.
Signed-off-by: Michael Straube <straube.linux@gmail.com> --- 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 c4ab858db29b..7fd450575eb4 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 65749c213cb9..f6c23fd9b31b 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.33.0
| |