]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
MDS: tick_event repeated assignment
authorhuanwen ren <rhwlyw@163.com>
Fri, 30 Jun 2017 09:53:45 +0000 (17:53 +0800)
committerGitHub <noreply@github.com>
Fri, 30 Jun 2017 09:53:45 +0000 (17:53 +0800)
"tick_event" will be assign in the MDSDaemon::tick(), so this place is unnecessary

Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
src/mds/MDSDaemon.cc

index 4c3d558ed46b9f899034c706f29e68efc61439bd..b3faa8644d7ec28b0e444b58ff2a31521dfc84f7 100644 (file)
@@ -78,8 +78,6 @@ public:
   explicit C_MDS_Tick(MDSDaemon *m) : mds_daemon(m) {}
   void finish(int r) override {
     assert(mds_daemon->mds_lock.is_locked_by_me());
-
-    mds_daemon->tick_event = 0;
     mds_daemon->tick();
   }
 };