lkml.org 
[lkml]   [2021]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 11/18] staging: r8188eu: remove unused ODM_IsWorkItemScheduled()
    Date
    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
    \
     
     \ /
      Last update: 2021-09-11 15:31    [W:3.248 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site