summaryrefslogtreecommitdiff
path: root/drivers/net/octeontx/nicvf_main.c
diff options
context:
space:
mode:
authorRasmus Villemoes <ravi@prevas.dk>2025-05-07 14:12:44 +0200
committerTom Rini <trini@konsulko.com>2025-06-18 08:05:04 -0600
commitf5fa73a625f671152aa65be4b039060f8baed4cc (patch)
tree1fff6aea67604714bd0204130e59980838521167 /drivers/net/octeontx/nicvf_main.c
parentc1c2b5c6a4c09fe57933b70ec6289795f732ac83 (diff)
treewide: drop no-op prefetch() calls
These all end up using the no-op prefetch() defined in linux/list.h, because the only possible real implementation is in arch/mips/include/asm/processor.h, which is behing CONFIG_CPU_HAS_PREFETCH which is nowhere defined. In order to be able to drop that fallback definition from list.h, first remove all uses. Signed-off-by: Rasmus Villemoes <ravi@prevas.dk>
Diffstat (limited to 'drivers/net/octeontx/nicvf_main.c')
-rw-r--r--drivers/net/octeontx/nicvf_main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/octeontx/nicvf_main.c b/drivers/net/octeontx/nicvf_main.c
index 6e4d0a05121..27d0327c88a 100644
--- a/drivers/net/octeontx/nicvf_main.c
+++ b/drivers/net/octeontx/nicvf_main.c
@@ -279,8 +279,6 @@ int nicvf_cq_handler(struct nicvf *nic, void **ppkt, int *pkt_len)
cq_desc = (struct cqe_rx_t *)GET_CQ_DESC(cq, cqe_head);
cqe_head++;
cqe_head &= (cq->dmem.q_len - 1);
- /* Initiate prefetch for next descriptor */
- prefetch((struct cqe_rx_t *)GET_CQ_DESC(cq, cqe_head));
switch (cq_desc->cqe_type) {
case CQE_TYPE_RX: