commit 7e1b38c: [Minor] Remove unused include

Vsevolod Stakhov vsevolod at highsecure.ru
Mon Oct 11 18:35:04 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-10-11 19:33:05 +0100
URL: https://github.com/rspamd/rspamd/commit/7e1b38c704dc3e25bd1f0c171f4f53effcbef75e (HEAD -> master)

[Minor] Remove unused include

---
 src/libserver/redis_pool.cxx | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/src/libserver/redis_pool.cxx b/src/libserver/redis_pool.cxx
index 052f2eb7c..548551ab9 100644
--- a/src/libserver/redis_pool.cxx
+++ b/src/libserver/redis_pool.cxx
@@ -26,24 +26,11 @@
 
 #include <list>
 #include "contrib/robin-hood/robin_hood.h"
-#include "libutil/cxx/local_shared_ptr.hxx"
 
 namespace rspamd {
 class redis_pool_elt;
 class redis_pool;
 
-#define msg_err_rpool(...) rspamd_default_log_function (G_LOG_LEVEL_CRITICAL, \
-        "redis_pool", conn->tag, \
-        __FUNCTION__, \
-        __VA_ARGS__)
-#define msg_warn_rpool(...)   rspamd_default_log_function (G_LOG_LEVEL_WARNING, \
-        "redis_pool", conn->tag, \
-        __FUNCTION__, \
-        __VA_ARGS__)
-#define msg_info_rpool(...)   rspamd_default_log_function (G_LOG_LEVEL_INFO, \
-        "redis_pool", conn->tag, \
-        __FUNCTION__, \
-        __VA_ARGS__)
 #define msg_debug_rpool(...)  rspamd_conditional_debug_fast (NULL, NULL, \
         rspamd_redis_pool_log_id, "redis_pool", conn->tag, \
         __FUNCTION__, \


More information about the Commits mailing list