diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2018-03-06 10:11:50 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-06 04:14:49 -0800 |
commit | 8bae455e57f1d44fff891a7334d19328b0203e4c (patch) | |
tree | 31824e6f2e54f4a58d9b70fb9d6968e9ef65c4f8 /drivers/staging/fsl-mc | |
parent | e7893674d6f29a41d6faeda59c30767e4a03f1b0 (diff) |
staging: fsl-mc/dpio: remove unused function
gcc warns that function 'qbman_pull_desc_set_token' is not used.
drivers/staging/fsl-mc/bus/dpio/qbman-portal.c:525:13: warning: ‘qbman_pull_desc_set_token’ defined but not used [-Wunused-function]
In the current code we remove that function.
Fixes: 321eecb06bfb ("bus: fsl-mc: dpio: add QBMan portal APIs for DPAA2")
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/fsl-mc')
-rw-r--r-- | drivers/staging/fsl-mc/bus/dpio/qbman-portal.c | 5 |
1 files changed, 0 insertions, 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 7b75c934b201..3522b9c0106b 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.) |