git: 6f9388d50588 - main - qlnxe: remove unused variable from ecore_ll2.c
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 01 Jul 2023 17:10:20 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=6f9388d50588e99dc6abb29aade52dc8e6d44d98
commit 6f9388d50588e99dc6abb29aade52dc8e6d44d98
Author: Mark O'Donovan <shiftee@posteo.net>
AuthorDate: 2023-07-01 17:06:51 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-07-01 17:07:00 +0000
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
---
sys/dev/qlnx/qlnxe/ecore_ll2.c | 3 +--
1 file changed, 1 insertion(+), 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;