projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c68bff6
)
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:28:07 +0000
(20:28 +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 cee3f082dea6af1180d1b14d3228777ee0301a29..88d9cbec21568791126acef6ace2a7025e0bf3ff 100644
(file)
--- 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)