[rtems-libbsd commit] LOCKING(9): Remove dead code (DDB)
Sebastian Huber
sebh at rtems.org
Thu Nov 16 08:03:22 UTC 2017
Module: rtems-libbsd
Branch: master
Commit: 344b8e6fb496b096025fb4cf674a65143f7be21b
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=344b8e6fb496b096025fb4cf674a65143f7be21b
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Thu Nov 16 08:17:03 2017 +0100
LOCKING(9): Remove dead code (DDB)
---
rtemsbsd/rtems/rtems-kernel-mutex.c | 6 ------
rtemsbsd/rtems/rtems-kernel-rwlock.c | 3 ---
rtemsbsd/rtems/rtems-kernel-sx.c | 3 ---
3 files changed, 12 deletions(-)
diff --git a/rtemsbsd/rtems/rtems-kernel-mutex.c b/rtemsbsd/rtems/rtems-kernel-mutex.c
index 40559ea..47f3683 100644
--- a/rtemsbsd/rtems/rtems-kernel-mutex.c
+++ b/rtemsbsd/rtems/rtems-kernel-mutex.c
@@ -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,
};
diff --git a/rtemsbsd/rtems/rtems-kernel-rwlock.c b/rtemsbsd/rtems/rtems-kernel-rwlock.c
index 8018082..80918f7 100644
--- a/rtemsbsd/rtems/rtems-kernel-rwlock.c
+++ b/rtemsbsd/rtems/rtems-kernel-rwlock.c
@@ -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,
};
diff --git a/rtemsbsd/rtems/rtems-kernel-sx.c b/rtemsbsd/rtems/rtems-kernel-sx.c
index 1092afe..7f47bd7 100644
--- a/rtemsbsd/rtems/rtems-kernel-sx.c
+++ b/rtemsbsd/rtems/rtems-kernel-sx.c
@@ -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,
};
More information about the vc
mailing list