From 8af37e0a108fce2c22a655e6ebf0b499d4222ead Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 16 Dec 2016 12:13:40 -0500 Subject: [PATCH] osd/OpRequest: drop useless helpers No callers! Signed-off-by: Sage Weil --- src/osd/OpRequest.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/osd/OpRequest.h b/src/osd/OpRequest.h index f4b27ad45f4..65b8576052c 100644 --- a/src/osd/OpRequest.h +++ b/src/osd/OpRequest.h @@ -137,18 +137,6 @@ public: epoch_t sent_epoch; bool hitset_inserted; Message *get_req() const { return request; } - bool been_queued_for_pg() { return hit_flag_points & flag_queued_for_pg; } - bool been_reached_pg() { return hit_flag_points & flag_reached_pg; } - bool been_delayed() { return hit_flag_points & flag_delayed; } - bool been_started() { return hit_flag_points & flag_started; } - bool been_sub_op_sent() { return hit_flag_points & flag_sub_op_sent; } - bool been_commit_sent() { return hit_flag_points & flag_commit_sent; } - bool currently_queued_for_pg() { return latest_flag_point & flag_queued_for_pg; } - bool currently_reached_pg() { return latest_flag_point & flag_reached_pg; } - bool currently_delayed() { return latest_flag_point & flag_delayed; } - bool currently_started() { return latest_flag_point & flag_started; } - bool currently_sub_op_sent() { return latest_flag_point & flag_sub_op_sent; } - bool currently_commit_sent() { return latest_flag_point & flag_commit_sent; } const char *state_string() const { switch(latest_flag_point) { -- 2.39.5