From: Robert Haas Date: Fri, 3 Aug 2012 16:59:24 +0000 (+0000) Subject: Code cleanup. X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=f9a7ad629ed77ce9920440cf371fd8a9f4320e33;p=users%2Frhaas%2Fpostgres.git Code cleanup. --- 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. */