some code rewrite
diff --git a/system/libraries/Cache/drivers/Cache_redis.php b/system/libraries/Cache/drivers/Cache_redis.php
index b0315a3..0bbd5b0 100644
--- a/system/libraries/Cache/drivers/Cache_redis.php
+++ b/system/libraries/Cache/drivers/Cache_redis.php
@@ -202,12 +202,12 @@
 		{
 			if ($config['socket_type'] === 'unix')
 			{
-				$v = $this->_redis->connect($config['socket']);
+				$success = $this->_redis->connect($config['socket']);
 			} else // tcp socket
 			{
-				$v = $this->_redis->connect($config['host'], $config['port'], $config['timeout']);
+				$success = $this->_redis->connect($config['host'], $config['port'], $config['timeout']);
 			}
-			if (!$v)
+			if ( ! $success)
 			{
 				log_message('debug','Redis connection refused. Check the config.');
 				return FALSE;