soc: fsl: dpio: remove redundant assignment to pointer p
PATCH 1/1 soc: fsl: dpio: remove redundant assignment to pointer p
The pointer p is being assigned a value that is never read, the assignment is redundant and can be removed. Cleans up clang scan build warning:
drivers/soc/fsl/dpio/qbman-portal.c:662:3: warning: Value stored to 'p' is never read [deadcode.DeadStores]
Signed-off-by Colin Ian King <[email protected]>
--- drivers/soc/fsl/dpio/qbman-portal.c | 1 - 1 file changed, 1 deletion(-)
drivers/soc/fsl/dpio/qbman-portal.c +0 -1
@@ -659,7 +659,6 @@ int qbman_swp_enqueue_multiple_direct(struct qbman_swp *s,if (!s->eqcr.available) { eqcr_ci = s->eqcr.ci; - p = s->addr_cena +QBMAN_CENA_SWP_EQCR_CI ; s->eqcr.ci =qbman_read_register (s,QBMAN_CINH_SWP_EQCR_CI ); s->eqcr.ci &= full_mask;
Signature · 1 line
2.39.2