mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-06-03 15:59:52 +08:00
LOCKING(9): Remove dead code (DDB)
This commit is contained in:
parent
3f23fcd943
commit
344b8e6fb4
@ -59,9 +59,6 @@ struct lock_class lock_class_mtx_sleep = {
|
||||
.lc_name = "sleep mutex",
|
||||
.lc_flags = LC_SLEEPLOCK | LC_RECURSABLE,
|
||||
.lc_assert = assert_mtx,
|
||||
#ifdef DDB
|
||||
.lc_ddb_show = db_show_mtx,
|
||||
#endif
|
||||
.lc_lock = lock_mtx,
|
||||
.lc_unlock = unlock_mtx,
|
||||
};
|
||||
@ -70,9 +67,6 @@ struct lock_class lock_class_mtx_spin = {
|
||||
.lc_name = "spin mutex",
|
||||
.lc_flags = LC_SPINLOCK | LC_RECURSABLE,
|
||||
.lc_assert = assert_mtx,
|
||||
#ifdef DDB
|
||||
.lc_ddb_show = db_show_mtx,
|
||||
#endif
|
||||
.lc_lock = lock_mtx,
|
||||
.lc_unlock = unlock_mtx,
|
||||
};
|
||||
|
@ -66,9 +66,6 @@ struct lock_class lock_class_rw = {
|
||||
.lc_name = "rw",
|
||||
.lc_flags = LC_SLEEPLOCK | LC_RECURSABLE | LC_UPGRADABLE,
|
||||
.lc_assert = assert_rw,
|
||||
#ifdef DDB
|
||||
.lc_ddb_show = db_show_rwlock,
|
||||
#endif
|
||||
.lc_lock = lock_rw,
|
||||
.lc_unlock = unlock_rw,
|
||||
};
|
||||
|
@ -55,9 +55,6 @@ struct lock_class lock_class_sx = {
|
||||
.lc_name = "sx",
|
||||
.lc_flags = LC_SLEEPLOCK | LC_SLEEPABLE | LC_RECURSABLE | LC_UPGRADABLE,
|
||||
.lc_assert = assert_sx,
|
||||
#ifdef DDB
|
||||
.lc_ddb_show = db_show_sx,
|
||||
#endif
|
||||
.lc_lock = lock_sx,
|
||||
.lc_unlock = unlock_sx,
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user