postgres.git / summary / log / commit / refs

commit    18f158ef697974cb976b52dae8a048d83b7f1ca4
Author:   Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date:     Tue Oct 28 18:26:20 2014 +0000
First released in: 9.5.0, 9.4.0

    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 bcec17335b8..719181c2089 100644 --- a/src/backend/storage/lmgr/lwlock.c +++ b/src/backend/storage/lmgr/lwlock.c @@ -997,8 +997,6 @@ LWLockWaitForVar(LWLock *lock, 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) [parent: c0e190365b93]