[master] ce6df7238 vsl: Remove redundant declarations

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Mon Jun 21 06:32:06 UTC 2021


commit ce6df723814f91e860721c5461c24a47c09811a5
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Mon Jun 21 08:30:01 2021 +0200

    vsl: Remove redundant declarations

diff --git a/include/vapi/vsl_int.h b/include/vapi/vsl_int.h
index d4b9fe54e..f4a0c86b8 100644
--- a/include/vapi/vsl_int.h
+++ b/include/vapi/vsl_int.h
@@ -42,7 +42,7 @@
 #define VAPI_VSL_INT_H_INCLUDED
 
 #define VSL_CLASS		"Log"
-#define VSL_SEGMENTS		8U
+#define VSL_SEGMENTS		8U	// power of two
 
 /*
  * Shared memory log format
diff --git a/include/vsl_priv.h b/include/vsl_priv.h
index 73e98ffdd..7fd71b1ce 100644
--- a/include/vsl_priv.h
+++ b/include/vsl_priv.h
@@ -41,9 +41,6 @@
 
 #include "vapi/vsl_int.h"
 
-#define VSL_CLASS		"Log"
-#define VSL_SEGMENTS		8U	// power of two
-
 /*
  * Shared memory log format
  *


More information about the varnish-commit mailing list