From d47eb5d681b79b32b838505b6e22c4ab627ba934 Mon Sep 17 00:00:00 2001 From: "Anand V. Avati" Date: Mon, 23 Feb 2009 17:18:53 +0530 Subject: DHT TEA hashfn bugfix Signed-off-by: Anand V. Avati --- xlators/cluster/dht/src/dht-hashfn-tea.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'xlators/cluster/dht') diff --git a/xlators/cluster/dht/src/dht-hashfn-tea.c b/xlators/cluster/dht/src/dht-hashfn-tea.c index 8437b4955..248567a38 100644 --- a/xlators/cluster/dht/src/dht-hashfn-tea.c +++ b/xlators/cluster/dht/src/dht-hashfn-tea.c @@ -104,10 +104,6 @@ dht_hashfn_tea (const char *msg, int len) tearound (PARTROUNDS, &array[0], &h0, &h1); } - if ((len % 16) == 0) { - goto done; - } - for (j = 0; j < 4; j++) { if (full_words) { word = *intmsg; @@ -126,7 +122,6 @@ dht_hashfn_tea (const char *msg, int len) } tearound (FULLROUNDS, &array[0], &h0, &h1); -done: return h0 ^ h1; } -- cgit