From a462c897870f49a3093fe997c1df88c0e23832ba Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Tue, 1 Mar 2011 21:13:49 -0500 Subject: [PATCH] ck_sequence: Remove unnecessary load fence from seqlock. --- include/ck_sequence.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/ck_sequence.h b/include/ck_sequence.h index 120a28a..af90a49 100644 --- a/include/ck_sequence.h +++ b/include/ck_sequence.h @@ -50,9 +50,6 @@ ck_sequence_read_begin(struct ck_sequence *sq) { uint32_t current; - /* Avoid fetching an old sequence number. */ - ck_pr_fence_load(); - for (;;) { current = ck_pr_load_uint(&sq->sequence);