From: Sage Weil Date: Fri, 16 Dec 2016 17:13:40 +0000 (-0500) Subject: osd/OpRequest: drop useless helpers X-Git-Tag: v12.0.0~45^2~5 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=8af37e0a108fce2c22a655e6ebf0b499d4222ead;p=ceph-ci.git osd/OpRequest: drop useless helpers No callers! Signed-off-by: Sage Weil --- 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) {