projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0e1903
)
Remove unnecessary assignment.
author
Heikki Linnakangas
Tue, 28 Oct 2014 18:26:20 +0000
(20:26 +0200)
committer
Heikki Linnakangas
Tue, 28 Oct 2014 18:26:20 +0000
(20:26 +0200)
Reported by MauMau.
src/backend/storage/lmgr/lwlock.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/storage/lmgr/lwlock.c
b/src/backend/storage/lmgr/lwlock.c
index bcec17335b8f70831204a2b9a4301b3112ea9f00..719181c2089f3fbd29be66b1a2b52abdf8e833d3 100644
(file)
--- 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)