From: Sage Weil Date: Fri, 9 Feb 2018 22:00:28 +0000 (-0600) Subject: osd/PG: drop unused context list accessors for RecoveryCtx X-Git-Tag: v13.1.0~390^2~61 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2c2378c49e8bbd957ffb150ce32a0fa3ce1a43f0;p=ceph.git osd/PG: drop unused context list accessors for RecoveryCtx Signed-off-by: Sage Weil --- diff --git a/src/osd/PG.h b/src/osd/PG.h index c05b211e9f48..66b16f197194 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,