summaryrefslogtreecommitdiffstats
path: root/src/common/ceph_mutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/ceph_mutex.h')
-rw-r--r--src/common/ceph_mutex.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/common/ceph_mutex.h b/src/common/ceph_mutex.h
index 059d81f2ac3..6ed8c56d5da 100644
--- a/src/common/ceph_mutex.h
+++ b/src/common/ceph_mutex.h
@@ -83,7 +83,6 @@ namespace ceph {
return {};
}
- static constexpr bool mutex_debugging = false;
#define ceph_mutex_is_locked(m) true
#define ceph_mutex_is_locked_by_me(m) true
}
@@ -131,8 +130,6 @@ namespace ceph {
return {std::forward<Args>(args)...};
}
- static constexpr bool mutex_debugging = true;
-
// debug methods
#define ceph_mutex_is_locked(m) ((m).is_locked())
#define ceph_mutex_is_not_locked(m) (!(m).is_locked())
@@ -186,8 +183,6 @@ namespace ceph {
return {};
}
- static constexpr bool mutex_debugging = false;
-
// debug methods. Note that these can blindly return true
// because any code that does anything other than assert these
// are true is broken.