Skip to content

Commit

Permalink
Remove duplicate definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
yatsukhnenko committed Mar 19, 2020
1 parent 6b82d40 commit a42cf18
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions redis_cluster.h
Original file line number Diff line number Diff line change
Expand Up @@ -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())

Expand Down

0 comments on commit a42cf18

Please sign in to comment.