]> Git Repo - linux.git/commitdiff
soc: fsl: dpio: Remove unused inline function qbman_write_eqcr_am_rt_register
authorYueHaibing <[email protected]>
Fri, 8 May 2020 14:09:47 +0000 (22:09 +0800)
committerLi Yang <[email protected]>
Fri, 22 May 2020 23:11:03 +0000 (18:11 -0500)
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 <[email protected]>
Signed-off-by: Li Yang <[email protected]>
drivers/soc/fsl/dpio/qbman-portal.c

index d1f49caa5b13779e9e9106f5fa4841f83c5e9be6..053086b99e259e209f9a60b836f1281e8d38db74 100644 (file)
@@ -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
This page took 0.065401 seconds and 4 git commands to generate.