projects
/
m6w6
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
4a30289
)
Removing dead code.
author
<brian@gir.tangent.org>
<>
Tue, 8 Jan 2008 17:48:42 +0000
(09:48 -0800)
committer
<brian@gir.tangent.org>
<>
Tue, 8 Jan 2008 17:48:42 +0000
(09:48 -0800)
lib/memcached_hosts.c
patch
|
blob
|
history
diff --git
a/lib/memcached_hosts.c
b/lib/memcached_hosts.c
index 6f49b270a98b305426d168ea528b11c3d16e3a8c..88c255a59d2997222b67f83107fa11cca545665f 100644
(file)
--- a/
lib/memcached_hosts.c
+++ b/
lib/memcached_hosts.c
@@
-13,9
+13,6
@@
static void rebalance_wheel(memcached_st *ptr)
unsigned int x;
unsigned int y;
unsigned int latch;
- unsigned int range;
-
- range= (MEMCACHED_WHEEL_SIZE / ptr->number_of_hosts);
/* Seed the Wheel */
memset(ptr->wheel, 0, sizeof(unsigned int) * MEMCACHED_WHEEL_SIZE);