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/02/11 20:28:59 UTC

[trafficserver] branch 8.0.x updated: Removes this unused old/duplicated define

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

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


The following commit(s) were added to refs/heads/8.0.x by this push:
     new 6d4f3b7  Removes this unused old/duplicated define
6d4f3b7 is described below

commit 6d4f3b74d749f5e08088933bb626d0dcdb77af5f
Author: Leif Hedstrom <zw...@apache.org>
AuthorDate: Tue Oct 16 14:04:04 2018 -0600

    Removes this unused old/duplicated define
    
    (cherry picked from commit 867d9c8527117ba0ac61fc2e282741e720b78cf8)
---
 include/tscore/Diags.h | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/include/tscore/Diags.h b/include/tscore/Diags.h
index 55d3857..f68cce8 100644
--- a/include/tscore/Diags.h
+++ b/include/tscore/Diags.h
@@ -330,14 +330,6 @@ extern inkcoreapi Diags *diags;
     }                                                  \
   } while (0)
 
-#define DiagSpecific(flag, tag, ...)                                                                      \
-  do {                                                                                                    \
-    if (unlikely(diags->on())) {                                                                          \
-      const SourceLocation loc = MakeSourceLocation();                                                    \
-      flag ? diags->print(tag, DL_Diag, &loc, __VA_ARGS__) : diags->log(tag, DL_Diag, &loc, __VA_ARGS__); \
-    }                                                                                                     \
-  } while (0)
-
 #define SpecificDebug(flag, tag, ...)                                                                       \
   do {                                                                                                      \
     if (unlikely(diags->on())) {                                                                            \
@@ -356,7 +348,6 @@ extern inkcoreapi Diags *diags;
 
 #define Diag(tag, fmt, ...)
 #define Debug(tag, fmt, ...)
-#define DiagSpecific(flag, tag, ...)
 #define SpecificDebug(flag, tag, ...)
 
 #define is_debug_tag_set(_t) 0