git: 776c34f64615 - main - ip_mroute: remove unused variables
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 11 Jan 2022 12:07:22 UTC
The branch main has been updated by wma:
URL: https://cgit.FreeBSD.org/src/commit/?id=776c34f64615b8de2e2fb53920331d9e359138c8
commit 776c34f64615b8de2e2fb53920331d9e359138c8
Author: Wojciech Macek <wma@FreeBSD.org>
AuthorDate: 2022-01-11 11:50:38 +0000
Commit: Wojciech Macek <wma@FreeBSD.org>
CommitDate: 2022-01-11 12:06:22 +0000
ip_mroute: remove unused variables
Sponsored by: Stormshield
Obtained from: Semihalf
---
sys/netinet/ip_mroute.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/sys/netinet/ip_mroute.c b/sys/netinet/ip_mroute.c
index a380a9b864b8..8cd0b2ac7449 100644
--- a/sys/netinet/ip_mroute.c
+++ b/sys/netinet/ip_mroute.c
@@ -193,12 +193,6 @@ static eventhandler_tag if_detach_event_tag = NULL;
VNET_DEFINE_STATIC(struct callout, expire_upcalls_ch);
#define V_expire_upcalls_ch VNET(expire_upcalls_ch)
-VNET_DEFINE_STATIC(struct mtx, upcall_thread_mtx);
-#define V_upcall_thread_mtx VNET(upcall_thread_mtx)
-
-VNET_DEFINE_STATIC(struct cv, upcall_thread_cv);
-#define V_upcall_thread_cv VNET(upcall_thread_cv)
-
VNET_DEFINE_STATIC(struct mtx, buf_ring_mtx);
#define V_buf_ring_mtx VNET(buf_ring_mtx)