From: shiqi <1454927420@qq.com> Date: Sat, 20 May 2017 09:40:23 +0000 (+0800) Subject: mon: delete useless function definition X-Git-Tag: v12.1.0~10^2~21^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=35bf49156a213ed02c702eecd7b2efb14825b770;p=ceph.git mon: delete useless function definition Signed-off-by: shiqi <1454927420@qq.com> --- diff --git a/src/mon/MonmapMonitor.cc b/src/mon/MonmapMonitor.cc index 6633009b3ef..e61b1a4bb26 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 c4a309768a4..99a2d913060 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: