From d6c146e5858fd13596645acb5bea9c42d6bfe447 Mon Sep 17 00:00:00 2001 From: runsisi Date: Sat, 25 Mar 2017 11:23:37 +0800 Subject: [PATCH] osd/PrimaryLogPG: remove unused custom reaction method for WaitReservation the KickTrim event can be handled by the outer state Trimming properly Signed-off-by: runsisi --- src/osd/PrimaryLogPG.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/osd/PrimaryLogPG.h b/src/osd/PrimaryLogPG.h index 802daef3e93..4fc1652e70b 100644 --- a/src/osd/PrimaryLogPG.h +++ b/src/osd/PrimaryLogPG.h @@ -1647,9 +1647,6 @@ private: pg->state_clear(PG_STATE_SNAPTRIM_WAIT); pg->publish_stats_to_osd(); } - boost::statechart::result react(const KickTrim&) { - return discard_event(); - } }; struct WaitScrub : boost::statechart::state< WaitScrub, SnapTrimmer >, NamedState { -- 2.47.3