You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2019/06/13 15:30:15 UTC

[trafficserver] branch master updated: This RSB is no longer used at all, so remove

This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new c18c745  This RSB is no longer used at all, so remove
c18c745 is described below

commit c18c745f8a180a9ac3abec6d166f8a8d03d2b29b
Author: Leif Hedstrom <zw...@apache.org>
AuthorDate: Tue Jun 11 16:00:24 2019 -0600

    This RSB is no longer used at all, so remove
---
 src/traffic_server/HostStatus.cc | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/traffic_server/HostStatus.cc b/src/traffic_server/HostStatus.cc
index 0b290d1..c931be4 100644
--- a/src/traffic_server/HostStatus.cc
+++ b/src/traffic_server/HostStatus.cc
@@ -23,8 +23,6 @@
 #include "HostStatus.h"
 #include "ProcessManager.h"
 
-static RecRawStatBlock *host_status_rsb = nullptr;
-
 inline void
 getStatName(std::string &stat_name, const char *name)
 {
@@ -208,7 +206,6 @@ HostStatus::HostStatus()
   ink_rwlock_init(&host_status_rwlock);
   pmgmt->registerMgmtCallback(MGMT_EVENT_HOST_STATUS_UP, &mgmt_host_status_up_callback);
   pmgmt->registerMgmtCallback(MGMT_EVENT_HOST_STATUS_DOWN, &mgmt_host_status_down_callback);
-  host_status_rsb = RecAllocateRawStatBlock((int)TS_MAX_API_STATS);
 }
 
 HostStatus::~HostStatus()