diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-11-20 22:18:45 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-11-20 22:18:45 +0000 |
commit | bc488cd48bb09799a6c8e9f2d08ac604a7a4c0c9 (patch) | |
tree | 8cc447adfab567b4929fce5c22424354d2d8aaa3 /src/libstat/backends | |
parent | 62409ad0943ef71827d941aa41666c477f30e49c (diff) | |
download | rspamd-bc488cd48bb09799a6c8e9f2d08ac604a7a4c0c9.tar.gz rspamd-bc488cd48bb09799a6c8e9f2d08ac604a7a4c0c9.zip |
[Minor] Remove obsolete WITH_HIREDIS define
Diffstat (limited to 'src/libstat/backends')
-rw-r--r-- | src/libstat/backends/backends.h | 5 | ||||
-rw-r--r-- | src/libstat/backends/redis_backend.c | 4 |
2 files changed, 0 insertions, 9 deletions
diff --git a/src/libstat/backends/backends.h b/src/libstat/backends/backends.h index 434377850..4c0b2276b 100644 --- a/src/libstat/backends/backends.h +++ b/src/libstat/backends/backends.h @@ -115,13 +115,8 @@ struct rspamd_stat_backend { RSPAMD_STAT_BACKEND_DEF(mmaped_file); RSPAMD_STAT_BACKEND_DEF(sqlite3); RSPAMD_STAT_BACKEND_DEF(cdb); - -#ifdef WITH_HIREDIS - RSPAMD_STAT_BACKEND_DEF(redis); -#endif - #ifdef __cplusplus } #endif diff --git a/src/libstat/backends/redis_backend.c b/src/libstat/backends/redis_backend.c index fdbb77f78..8536b80e3 100644 --- a/src/libstat/backends/redis_backend.c +++ b/src/libstat/backends/redis_backend.c @@ -19,8 +19,6 @@ #include "upstream.h" #include "lua/lua_common.h" #include "libserver/mempool_vars_internal.h" - -#ifdef WITH_HIREDIS #include "hiredis.h" #include "adapters/libev.h" #include "ref.h" @@ -2061,5 +2059,3 @@ rspamd_redis_load_tokenizer_config (gpointer runtime, { return NULL; } - -#endif |