diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2014-10-28 20:26:20 +0200 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2014-10-28 20:26:20 +0200 |
commit | 18f158ef697974cb976b52dae8a048d83b7f1ca4 (patch) | |
tree | 67ce12c9140bdbc0b7e3a030fb35cc4c7573f13b /src | |
parent | c0e190365b93bbf717540d8e7653c65a9f6c5650 (diff) | |
download | postgresql-18f158ef697974cb976b52dae8a048d83b7f1ca4.tar.gz postgresql-18f158ef697974cb976b52dae8a048d83b7f1ca4.zip |
Remove unnecessary assignment.
Reported by MauMau.
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/storage/lmgr/lwlock.c | 2 |
1 files changed, 0 insertions, 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) |