aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2015-07-29 10:13:10 +0200
committerAndres Freund <andres@anarazel.de>2015-07-29 10:13:10 +0200
commit3bc9356ddd52443e209fb60b94a2c29d66259d62 (patch)
tree2930ffaa6bf7ef604486447ced36eedb90e17fb4
parenta309ebd6b9940ca466c7748eeefc93c86ba2c9d4 (diff)
downloadpostgresql-3bc9356ddd52443e209fb60b94a2c29d66259d62.tar.gz
postgresql-3bc9356ddd52443e209fb60b94a2c29d66259d62.zip
Remove outdated comment in LWLockDequeueSelf's header.
Noticed-By: Robert Haas Backpatch: 9.5, where the function was added
-rw-r--r--src/backend/storage/lmgr/lwlock.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/backend/storage/lmgr/lwlock.c b/src/backend/storage/lmgr/lwlock.c
index 46cab4911e7..e5566d1b609 100644
--- a/src/backend/storage/lmgr/lwlock.c
+++ b/src/backend/storage/lmgr/lwlock.c
@@ -796,8 +796,7 @@ LWLockQueueSelf(LWLock *lock, LWLockMode mode)
*
* This is used if we queued ourselves because we thought we needed to sleep
* but, after further checking, we discovered that we don't actually need to
- * do so. Returns false if somebody else already has woken us up, otherwise
- * returns true.
+ * do so.
*/
static void
LWLockDequeueSelf(LWLock *lock)