Messages in this thread Patch in this message | | | From | Ioana Radulescu <> | Subject | [PATCH 5/5] staging: fsl-mc/dpio: Remove dead code | Date | Tue, 6 Mar 2018 11:43:48 -0600 |
| |
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
| |