From 35bf49156a213ed02c702eecd7b2efb14825b770 Mon Sep 17 00:00:00 2001 From: shiqi <1454927420@qq.com> Date: Sat, 20 May 2017 17:40:23 +0800 Subject: [PATCH] mon: delete useless function definition Signed-off-by: shiqi <1454927420@qq.com> --- src/mon/MonmapMonitor.cc | 4 ---- src/mon/MonmapMonitor.h | 2 -- 2 files changed, 6 deletions(-) diff --git a/src/mon/MonmapMonitor.cc b/src/mon/MonmapMonitor.cc index 6633009b3ef8..e61b1a4bb261 100644 --- a/src/mon/MonmapMonitor.cc +++ b/src/mon/MonmapMonitor.cc @@ -718,10 +718,6 @@ bool MonmapMonitor::should_propose(double& delay) return true; } -void MonmapMonitor::tick() -{ -} - void MonmapMonitor::get_health(list >& summary, list > *detail, CephContext *cct) const diff --git a/src/mon/MonmapMonitor.h b/src/mon/MonmapMonitor.h index c4a309768a45..99a2d913060f 100644 --- a/src/mon/MonmapMonitor.h +++ b/src/mon/MonmapMonitor.h @@ -80,8 +80,6 @@ class MonmapMonitor : public PaxosService { */ bool should_propose(double& delay) override; - void tick() override; - void check_sub(Subscription *sub); private: -- 2.47.3