ck_sequence: Add branch hint for short-circuit.

ck_pring
Samy Al Bahra 11 years ago
parent edd12edbcc
commit 15ce0501d2

@ -58,7 +58,7 @@ ck_sequence_read_begin(struct ck_sequence *sq)
* If a sequence is even then associated data may be in a
* consistent state.
*/
if ((version & 1) == 0)
if (CK_CC_LIKELY((version & 1) == 0))
break;
/*

Loading…
Cancel
Save