aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/qlnx
diff options
context:
space:
mode:
authorMark O'Donovan <shiftee@posteo.net>2023-07-01 17:06:51 +0000
committerWarner Losh <imp@FreeBSD.org>2023-07-01 17:07:00 +0000
commit6f9388d50588e99dc6abb29aade52dc8e6d44d98 (patch)
tree58198ccdc590ba104790d4e113dcc11028a1d860 /sys/dev/qlnx
parentb0d3d44dfe63fe9b0d0b38f6b30be588eed21781 (diff)
downloadsrc-6f9388d50588e99dc6abb29aade52dc8e6d44d98.tar.gz
src-6f9388d50588e99dc6abb29aade52dc8e6d44d98.zip
qlnxe: remove unused variable from ecore_ll2.c
Signed-off-by: Mark O'Donovan <shiftee@posteo.net> Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/779
Diffstat (limited to 'sys/dev/qlnx')
-rw-r--r--sys/dev/qlnx/qlnxe/ecore_ll2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/qlnx/qlnxe/ecore_ll2.c b/sys/dev/qlnx/qlnxe/ecore_ll2.c
index fdc630af1116..89360a6552ab 100644
--- a/sys/dev/qlnx/qlnxe/ecore_ll2.c
+++ b/sys/dev/qlnx/qlnxe/ecore_ll2.c
@@ -542,7 +542,7 @@ ecore_ll2_lb_rxq_handler(struct ecore_hwfn *p_hwfn,
struct ecore_ll2_rx_queue *p_rx = &p_ll2_conn->rx_queue;
u16 packet_length = 0, parse_flags = 0, vlan = 0;
struct ecore_ll2_rx_packet *p_pkt = OSAL_NULL;
- u32 num_ooo_add_to_peninsula = 0, cid;
+ u32 cid;
union core_rx_cqe_union *cqe = OSAL_NULL;
u16 cq_new_idx = 0, cq_old_idx = 0;
struct ecore_ooo_buffer *p_buffer;
@@ -669,7 +669,6 @@ ecore_ll2_lb_rxq_handler(struct ecore_hwfn *p_hwfn,
iscsi_ooo->ooo_isle);
break;
case TCP_EVENT_ADD_PEN:
- num_ooo_add_to_peninsula++;
ecore_ooo_put_ready_buffer(p_hwfn->p_ooo_info,
p_buffer, true);
break;