You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ma...@apache.org on 2018/05/08 23:32:09 UTC

[trafficserver] branch master updated: Remove unused code

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

maskit 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 0501ce2  Remove unused code
0501ce2 is described below

commit 0501ce2bf84f5e2b044fdc93120f342928a43c90
Author: Masakazu Kitajo <ma...@apache.org>
AuthorDate: Tue May 8 17:06:09 2018 +0100

    Remove unused code
    
    RbTree.h is included but it's not needed.
---
 iocore/net/SSLSessionCache.cc | 2 --
 iocore/net/SSLSessionCache.h  | 1 -
 2 files changed, 3 deletions(-)

diff --git a/iocore/net/SSLSessionCache.cc b/iocore/net/SSLSessionCache.cc
index 59b0f08..bbe52a9 100644
--- a/iocore/net/SSLSessionCache.cc
+++ b/iocore/net/SSLSessionCache.cc
@@ -33,8 +33,6 @@
 #define PRINT_BUCKET(x)
 #endif
 
-using ts::detail::RBNode;
-
 /* Session Cache */
 SSLSessionCache::SSLSessionCache() : session_bucket(nullptr), nbuckets(SSLConfigParams::session_cache_number_buckets)
 {
diff --git a/iocore/net/SSLSessionCache.h b/iocore/net/SSLSessionCache.h
index 97e150e..c84f42d 100644
--- a/iocore/net/SSLSessionCache.h
+++ b/iocore/net/SSLSessionCache.h
@@ -29,7 +29,6 @@
 #include "I_RecProcess.h"
 #include "ts/ink_platform.h"
 #include "P_SSLUtils.h"
-#include "ts/RbTree.h"
 #include "ts/apidefs.h"
 #include <openssl/ssl.h>
 

-- 
To stop receiving notification emails like this one, please contact
maskit@apache.org.