aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/storage/latch.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/include/storage/latch.h b/src/include/storage/latch.h
index e77491e71f3..737e11d0168 100644
--- a/src/include/storage/latch.h
+++ b/src/include/storage/latch.h
@@ -116,8 +116,6 @@ extern int WaitLatchOrSocket(volatile Latch *latch, int wakeEvents,
extern void SetLatch(volatile Latch *latch);
extern void ResetLatch(volatile Latch *latch);
-/* beware of memory ordering issues if you use this macro! */
-#define TestLatch(latch) (((volatile Latch *) (latch))->is_set)
/*
* Unix implementation uses SIGUSR1 for inter-process signaling.