Message ID | 20200508140947.28712-1-yuehaibing@huawei.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Series | [-next] soc: fsl: dpio: Remove unused inline function qbman_write_eqcr_am_rt_register | expand |
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/apply_patch | success | Successfully applied on branch powerpc/merge (1bc92fe3175eb26ff37e580c0383d7a9abe06835) |
snowpatch_ozlabs/build-ppc64le | success | Build succeeded |
snowpatch_ozlabs/build-ppc64be | success | Build succeeded |
snowpatch_ozlabs/build-ppc64e | success | Build succeeded |
snowpatch_ozlabs/build-pmac32 | success | Build succeeded |
snowpatch_ozlabs/checkpatch | warning | total: 1 errors, 1 warnings, 0 checks, 18 lines checked |
snowpatch_ozlabs/needsstable | success | Patch has no Fixes tags |
On Fri, May 8, 2020 at 9:13 AM YueHaibing <yuehaibing@huawei.com> wrote: > > There's no callers in-tree anymore since commit > 3b2abda7d28c ("soc: fsl: dpio: Replace QMAN array mode with ring mode enqueue") > > Signed-off-by: YueHaibing <yuehaibing@huawei.com> Applied to next. Thanks. Regards, Leo > --- > drivers/soc/fsl/dpio/qbman-portal.c | 12 ------------ > 1 file changed, 12 deletions(-) > > diff --git a/drivers/soc/fsl/dpio/qbman-portal.c b/drivers/soc/fsl/dpio/qbman-portal.c > index 804b8ba9bf5c..e2e9fbb58a72 100644 > --- a/drivers/soc/fsl/dpio/qbman-portal.c > +++ b/drivers/soc/fsl/dpio/qbman-portal.c > @@ -572,18 +572,6 @@ void qbman_eq_desc_set_qd(struct qbman_eq_desc *d, u32 qdid, > #define EQAR_VB(eqar) ((eqar) & 0x80) > #define EQAR_SUCCESS(eqar) ((eqar) & 0x100) > > -static inline void qbman_write_eqcr_am_rt_register(struct qbman_swp *p, > - u8 idx) > -{ > - if (idx < 16) > - qbman_write_register(p, QBMAN_CINH_SWP_EQCR_AM_RT + idx * 4, > - QMAN_RT_MODE); > - else > - qbman_write_register(p, QBMAN_CINH_SWP_EQCR_AM_RT2 + > - (idx - 16) * 4, > - QMAN_RT_MODE); > -} > - > #define QB_RT_BIT ((u32)0x100) > /** > * qbman_swp_enqueue_direct() - Issue an enqueue command > -- > 2.17.1 > >
diff --git a/drivers/soc/fsl/dpio/qbman-portal.c b/drivers/soc/fsl/dpio/qbman-portal.c index 804b8ba9bf5c..e2e9fbb58a72 100644 --- a/drivers/soc/fsl/dpio/qbman-portal.c +++ b/drivers/soc/fsl/dpio/qbman-portal.c @@ -572,18 +572,6 @@ void qbman_eq_desc_set_qd(struct qbman_eq_desc *d, u32 qdid, #define EQAR_VB(eqar) ((eqar) & 0x80) #define EQAR_SUCCESS(eqar) ((eqar) & 0x100) -static inline void qbman_write_eqcr_am_rt_register(struct qbman_swp *p, - u8 idx) -{ - if (idx < 16) - qbman_write_register(p, QBMAN_CINH_SWP_EQCR_AM_RT + idx * 4, - QMAN_RT_MODE); - else - qbman_write_register(p, QBMAN_CINH_SWP_EQCR_AM_RT2 + - (idx - 16) * 4, - QMAN_RT_MODE); -} - #define QB_RT_BIT ((u32)0x100) /** * qbman_swp_enqueue_direct() - Issue an enqueue command
There's no callers in-tree anymore since commit 3b2abda7d28c ("soc: fsl: dpio: Replace QMAN array mode with ring mode enqueue") Signed-off-by: YueHaibing <yuehaibing@huawei.com> --- drivers/soc/fsl/dpio/qbman-portal.c | 12 ------------ 1 file changed, 12 deletions(-)