Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2020-03-20 00:00:25 +0300
committerPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2020-03-20 00:00:25 +0300
commita42cf189a776fc43acf47ca519f1d7385cc27f2f (patch)
treec64209d78b222ea78c60a6b40b6cb446cf04f678 /redis_cluster.h
parent6b82d40ed55ee249bfc0c5f37e48c45855b22a58 (diff)
Remove duplicate definitions
Diffstat (limited to 'redis_cluster.h')
-rw-r--r--redis_cluster.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/redis_cluster.h b/redis_cluster.h
index 68a0273c..b7f4ae0f 100644
--- a/redis_cluster.h
+++ b/redis_cluster.h
@@ -5,10 +5,6 @@
#include <php.h>
#include <stddef.h>
-/* Redis cluster hash slots and N-1 which we'll use to find it */
-#define REDIS_CLUSTER_SLOTS 16384
-#define REDIS_CLUSTER_MOD (REDIS_CLUSTER_SLOTS-1)
-
/* Get attached object context */
#define GET_CONTEXT() PHPREDIS_ZVAL_GET_OBJECT(redisCluster, getThis())