git: 07edc89c393c - main - witness: remove ifnet_rw

Kristof Provost kp at FreeBSD.org
Wed Aug 18 08:52:04 UTC 2021


The branch main has been updated by kp:

URL: https://cgit.FreeBSD.org/src/commit/?id=07edc89c393c1c4f09e0afe8e528f5d091f0ae04

commit 07edc89c393c1c4f09e0afe8e528f5d091f0ae04
Author:     Kristof Provost <kp at FreeBSD.org>
AuthorDate: 2021-08-17 10:56:11 +0000
Commit:     Kristof Provost <kp at FreeBSD.org>
CommitDate: 2021-08-18 06:51:26 +0000

    witness: remove ifnet_rw
    
    This lock no longer exists. It was removed in
    a60100fdfc10 (if: Remove ifnet_rwlock, 2020-11-25)
    
    Reviewed by:            mjg
    Pointed out by:         Dheeraj Kandula <dheerajk at netapp.com>
    Different Revision:     https://reviews.freebsd.org/D31585
---
 sys/kern/subr_witness.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c
index c849a191bf16..e3fcbbb31311 100644
--- a/sys/kern/subr_witness.c
+++ b/sys/kern/subr_witness.c
@@ -541,7 +541,6 @@ static struct witness_order_list_entry order_lists[] = {
 	{ "udpinp", &lock_class_rw },
 	{ "in_multi_list_mtx", &lock_class_mtx_sleep },
 	{ "igmp_mtx", &lock_class_mtx_sleep },
-	{ "ifnet_rw", &lock_class_rw },
 	{ "if_addr_lock", &lock_class_mtx_sleep },
 	{ NULL, NULL },
 	/*
@@ -552,7 +551,6 @@ static struct witness_order_list_entry order_lists[] = {
 	{ "udpinp", &lock_class_rw },
 	{ "in6_multi_list_mtx", &lock_class_mtx_sleep },
 	{ "mld_mtx", &lock_class_mtx_sleep },
-	{ "ifnet_rw", &lock_class_rw },
 	{ "if_addr_lock", &lock_class_mtx_sleep },
 	{ NULL, NULL },
 	/*


More information about the dev-commits-src-all mailing list