Skip to content

Commit a72b31e

Browse files
committed
mds: remove dead code
A const getter already exists. Signed-off-by: Patrick Donnelly <[email protected]>
1 parent 398563d commit a72b31e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/mds/Capability.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,6 @@ class Capability : public Counter<Capability> {
218218
void set_cap_id(uint64_t i) { cap_id = i; }
219219
uint64_t get_cap_id() const { return cap_id; }
220220

221-
//ceph_seq_t get_last_issue() { return last_issue; }
222-
223221
bool is_suppress() const { return suppress > 0; }
224222
void inc_suppress() { suppress++; }
225223
void dec_suppress() { suppress--; }

0 commit comments

Comments
 (0)