lkml.org 
[lkml]   [2018]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5/5] staging: fsl-mc/dpio: Remove dead code
    Date
    Function qbman_pull_desc_set_token() is not used at all, so remove it.

    Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
    ---
    drivers/staging/fsl-mc/bus/dpio/qbman-portal.c | 5 -----
    1 file changed, 5 deletions(-)

    diff --git a/drivers/staging/fsl-mc/bus/dpio/qbman-portal.c b/drivers/staging/fsl-mc/bus/dpio/qbman-portal.c
    index 7e55b56..116fafb 100644
    --- a/drivers/staging/fsl-mc/bus/dpio/qbman-portal.c
    +++ b/drivers/staging/fsl-mc/bus/dpio/qbman-portal.c
    @@ -522,11 +522,6 @@ void qbman_pull_desc_set_numframes(struct qbman_pull_desc *d, u8 numframes)
    d->numf = numframes - 1;
    }

    -static void qbman_pull_desc_set_token(struct qbman_pull_desc *d, u8 token)
    -{
    - d->tok = token;
    -}
    -
    /*
    * Exactly one of the following descriptor "actions" should be set. (Calling any
    * one of these will replace the effect of any prior call to one of these.)
    --
    2.7.4
    \
     
     \ /
      Last update: 2018-03-06 18:45    [W:2.791 / U:0.064 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site