From 2c2378c49e8bbd957ffb150ce32a0fa3ce1a43f0 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 9 Feb 2018 16:00:28 -0600 Subject: [PATCH] osd/PG: drop unused context list accessors for RecoveryCtx Signed-off-by: Sage Weil --- src/osd/PG.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/osd/PG.h b/src/osd/PG.h index c05b211e9f48f..66b16f197194e 100644 --- a/src/osd/PG.h +++ b/src/osd/PG.h @@ -1966,18 +1966,6 @@ protected: return state->rctx->info_map; } - list< Context* > *get_on_safe_context_list() { - assert(state->rctx); - assert(state->rctx->on_safe); - return &(state->rctx->on_safe->contexts); - } - - list< Context * > *get_on_applied_context_list() { - assert(state->rctx); - assert(state->rctx->on_applied); - return &(state->rctx->on_applied->contexts); - } - RecoveryCtx *get_recovery_ctx() { return &*(state->rctx); } void send_notify(pg_shard_t to, -- 2.39.5