From f9a7ad629ed77ce9920440cf371fd8a9f4320e33 Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Fri, 3 Aug 2012 16:59:24 +0000 Subject: [PATCH] Code cleanup. --- src/backend/utils/hash/chash.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/backend/utils/hash/chash.c b/src/backend/utils/hash/chash.c index 702b1ff530..04a2eab89f 100644 --- a/src/backend/utils/hash/chash.c +++ b/src/backend/utils/hash/chash.c @@ -805,8 +805,7 @@ zap: static CHashPtr CHashAllocate(CHashTable table) { - uint32 f_home = ((uint32) MyBackendId) % table->nfreelists; - uint32 f_current = f_home; + uint32 f_current = ((uint32) MyBackendId) % table->nfreelists; CHashPtr new; /* If this process hasn't initialized gc_next yet, do that now. */ -- 2.39.5