trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jpe...@apache.org
Subject [2/2] trafficserver git commit: Remove unused LocalManager ticker.
Date Fri, 25 Mar 2016 05:11:05 GMT
Remove unused LocalManager ticker.


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/1419f490
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/1419f490
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/1419f490

Branch: refs/heads/master
Commit: 1419f4901ecf86210c597da8c831169b89739dfd
Parents: 8f10bd0
Author: James Peach <jpeach@apache.org>
Authored: Thu Mar 24 22:08:23 2016 -0700
Committer: James Peach <jpeach@apache.org>
Committed: Thu Mar 24 22:08:23 2016 -0700

----------------------------------------------------------------------
 mgmt/LocalManager.cc |  2 --
 mgmt/LocalManager.h  | 12 ------------
 2 files changed, 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/1419f490/mgmt/LocalManager.cc
----------------------------------------------------------------------
diff --git a/mgmt/LocalManager.cc b/mgmt/LocalManager.cc
index 6036a7b..c43f0e6 100644
--- a/mgmt/LocalManager.cc
+++ b/mgmt/LocalManager.cc
@@ -253,8 +253,6 @@ LocalManager::LocalManager(bool proxy_on) : BaseManager(), run_proxy(proxy_on),
     mgmt_fatal(0, "[LocalManager::LocalManager] please set bin path 'proxy.config.bin_path'
\n");
   }
 
-  internal_ticker = 0;
-
   watched_process_pid = -1;
 
   process_server_sockfd = -1;

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/1419f490/mgmt/LocalManager.h
----------------------------------------------------------------------
diff --git a/mgmt/LocalManager.h b/mgmt/LocalManager.h
index a660461..c9e99de 100644
--- a/mgmt/LocalManager.h
+++ b/mgmt/LocalManager.h
@@ -90,17 +90,6 @@ public:
   bool processRunning();
   bool clusterOk();
 
-  void
-  tick()
-  {
-    ++internal_ticker;
-  };
-  void
-  resetTicker()
-  {
-    internal_ticker = 0;
-  }
-
   volatile bool run_proxy;
   volatile time_t manager_started_at;
   volatile time_t proxy_started_at;
@@ -132,7 +121,6 @@ public:
 
   ClusterCom *ccom;
 
-  volatile int internal_ticker;
   volatile pid_t watched_process_pid;
 
   int syslog_facility;


Mime
View raw message