From: Yingxin Cheng Date: Mon, 23 Aug 2021 01:50:33 +0000 (+0800) Subject: crimson/interruptible_future: remove unused code X-Git-Tag: v17.1.0~1036^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F42882%2Fhead;p=ceph.git crimson/interruptible_future: remove unused code Signed-off-by: Yingxin Cheng --- diff --git a/src/crimson/common/interruptible_future.h b/src/crimson/common/interruptible_future.h index a7477795fce5..e654468ab24c 100644 --- a/src/crimson/common/interruptible_future.h +++ b/src/crimson/common/interruptible_future.h @@ -973,9 +973,6 @@ template struct interruptor { public: - template - using future = interruptible_future; - template [[gnu::always_inline]] static interruptible_future_detail @@ -1002,25 +999,11 @@ public: struct futurize { using type = interruptible_future_detail< InterruptCond, typename seastar::futurize::type>; - - template - static type invoke(Func&& func, Args&&... args) noexcept { - return seastar::futurize::invoke( - std::forward(func), - std::forward(args)...); - } }; template struct futurize> { using type = interruptible_future_detail; - - template - static type invoke(Func&& func, Args&&... args) noexcept { - return seastar::futurize::invoke( - std::forward(func), - std::forward(args)...); - } }; template