summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick Donnelly <pdonnell@redhat.com>2024-06-26 15:39:25 +0200
committerPatrick Donnelly <pdonnell@redhat.com>2024-10-10 14:53:31 +0200
commita72b31e2fb3651152021d0e8e3445f97efe05268 (patch)
tree17dc83c0819e09a5e0f334acef6c7a90b7aeba01 /src
parentMerge PR #60011 into main (diff)
downloadceph-a72b31e2fb3651152021d0e8e3445f97efe05268.tar.xz
ceph-a72b31e2fb3651152021d0e8e3445f97efe05268.zip
mds: remove dead code
A const getter already exists. Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/mds/Capability.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mds/Capability.h b/src/mds/Capability.h
index 9adcf3b25b9..0782464ad94 100644
--- a/src/mds/Capability.h
+++ b/src/mds/Capability.h
@@ -218,8 +218,6 @@ public:
void set_cap_id(uint64_t i) { cap_id = i; }
uint64_t get_cap_id() const { return cap_id; }
- //ceph_seq_t get_last_issue() { return last_issue; }
-
bool is_suppress() const { return suppress > 0; }
void inc_suppress() { suppress++; }
void dec_suppress() { suppress--; }