summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/hashfn.c
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src/hashfn.c')
-rw-r--r--libglusterfs/src/hashfn.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libglusterfs/src/hashfn.c b/libglusterfs/src/hashfn.c
index d53ecb56ac2..cf0e72a9ff2 100644
--- a/libglusterfs/src/hashfn.c
+++ b/libglusterfs/src/hashfn.c
@@ -57,13 +57,6 @@ uint32_t SuperFastHash (const char * data, int32_t len) {
if (len <= 1 || data == NULL) return 1;
-
- for (;len > 0; len--) {
- hash ^= data[len];
-
- return hash;
- }
-
rem = len & 3;
len >>= 2;