Skip to content

Commit e9e4ef9

Browse files
YueHaibingLi Yang
authored andcommitted
soc: fsl: dpio: Remove unused inline function qbman_write_eqcr_am_rt_register
There's no callers in-tree anymore since commit 3b2abda ("soc: fsl: dpio: Replace QMAN array mode with ring mode enqueue") Signed-off-by: YueHaibing <[email protected]> Signed-off-by: Li Yang <[email protected]>
1 parent b25511e commit e9e4ef9

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

drivers/soc/fsl/dpio/qbman-portal.c

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -572,18 +572,6 @@ void qbman_eq_desc_set_qd(struct qbman_eq_desc *d, u32 qdid,
572572
#define EQAR_VB(eqar) ((eqar) & 0x80)
573573
#define EQAR_SUCCESS(eqar) ((eqar) & 0x100)
574574

575-
static inline void qbman_write_eqcr_am_rt_register(struct qbman_swp *p,
576-
u8 idx)
577-
{
578-
if (idx < 16)
579-
qbman_write_register(p, QBMAN_CINH_SWP_EQCR_AM_RT + idx * 4,
580-
QMAN_RT_MODE);
581-
else
582-
qbman_write_register(p, QBMAN_CINH_SWP_EQCR_AM_RT2 +
583-
(idx - 16) * 4,
584-
QMAN_RT_MODE);
585-
}
586-
587575
#define QB_RT_BIT ((u32)0x100)
588576
/**
589577
* qbman_swp_enqueue_direct() - Issue an enqueue command

0 commit comments

Comments
 (0)