From 3bc9356ddd52443e209fb60b94a2c29d66259d62 Mon Sep 17 00:00:00 2001
From: Andres Freund <andres@anarazel.de>
Date: Wed, 29 Jul 2015 10:13:10 +0200
Subject: [PATCH] Remove outdated comment in LWLockDequeueSelf's header.

Noticed-By: Robert Haas
Backpatch: 9.5, where the function was added
---
 src/backend/storage/lmgr/lwlock.c | 3 +--
 1 file changed, 1 insertion(+), 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)
-- 
GitLab