From 3345ba4d0d28435518b5979120618a610dea4e13 Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Tue, 28 Oct 2014 20:26:20 +0200 Subject: [PATCH] Remove unnecessary assignment. Reported by MauMau. --- src/backend/storage/lmgr/lwlock.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/backend/storage/lmgr/lwlock.c b/src/backend/storage/lmgr/lwlock.c index cee3f082de..88d9cbec21 100644 --- a/src/backend/storage/lmgr/lwlock.c +++ b/src/backend/storage/lmgr/lwlock.c @@ -969,8 +969,6 @@ LWLockWaitForVar(LWLock *l, uint64 *valptr, uint64 oldval, uint64 *newval) */ proc->lwWaiting = true; proc->lwWaitMode = LW_WAIT_UNTIL_FREE; - proc->lwWaitLink = NULL; - /* waiters are added to the front of the queue */ proc->lwWaitLink = lock->head; if (lock->head == NULL) -- 2.40.0