Code cleanup.
authorRobert Haas <rhaas@postgresql.org>
Fri, 3 Aug 2012 16:59:24 +0000 (16:59 +0000)
committerRobert Haas <rhaas@postgresql.org>
Tue, 27 Jan 2015 02:24:25 +0000 (02:24 +0000)
src/backend/utils/hash/chash.c

index 702b1ff53010f45a3047ed382d30131bc78223e9..04a2eab89f2cde211b809626c3f5b33ebfe1acfb 100644 (file)
@@ -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. */