From 0950830ee9fff7ce62145cab64ed76605487e647 Mon Sep 17 00:00:00 2001 From: Monendra Singh Kushwaha Date: Fri, 13 Sep 2024 16:10:37 +0530 Subject: octeon: fix compilation on octeon9 Type: fix Signed-off-by: Monendra Singh Kushwaha Change-Id: I9ffa78122dcd6b98cad9902e43ba8432fcd572b1 --- src/plugins/dev_octeon/tx_node.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/plugins/dev_octeon/tx_node.c') diff --git a/src/plugins/dev_octeon/tx_node.c b/src/plugins/dev_octeon/tx_node.c index 6d239836a20..f42f18d989b 100644 --- a/src/plugins/dev_octeon/tx_node.c +++ b/src/plugins/dev_octeon/tx_node.c @@ -300,7 +300,8 @@ oct_tx_enq16 (vlib_main_t *vm, oct_tx_ctx_t *ctx, vnet_dev_tx_queue_t *txq, { u8 dwords_per_line[16], *dpl = dwords_per_line; u64 __attribute__ ((unused)) lmt_arg, ioaddr, n_lines; - u32 n_left, or_flags_16 = 0, n = 0; + u32 __attribute__ ((unused)) or_flags_16 = 0; + u32 n_left, n = 0; const u32 not_simple_flags = VLIB_BUFFER_NEXT_PRESENT | VNET_BUFFER_F_OFFLOAD; lmt_line_t *l = ctx->lmt_lines; -- cgit 1.2.3-korg