From 1faf82663ff44d309a7a28989c1d99c8addf971c Mon Sep 17 00:00:00 2001
From: antirez <antirez@gmail.com>
Date: Thu, 20 Mar 2014 11:36:56 +0100
Subject: [PATCH] Specify lruclock in redisServer structure via REDIS_LRU_BITS.

The padding field was totally useless: removed.
---
 src/redis.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/redis.h b/src/redis.h
index efa13107..c3438a6a 100644
--- a/src/redis.h
+++ b/src/redis.h
@@ -598,8 +598,7 @@ struct redisServer {
     dict *commands;             /* Command table */
     dict *orig_commands;        /* Command table before command renaming. */
     aeEventLoop *el;
-    unsigned lruclock:22;       /* Clock incrementing every minute, for LRU */
-    unsigned lruclock_padding:10;
+    unsigned lruclock:REDIS_LRU_BITS; /* Clock for LRU eviction */
     int shutdown_asap;          /* SHUTDOWN needed ASAP */
     int activerehashing;        /* Incremental rehash in serverCron() */
     char *requirepass;          /* Pass for AUTH command, or NULL */