From d06441da04cd5102816858d8d1e4aa367c00156b Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Thu, 14 Aug 2014 01:59:58 +0200 Subject: sd-event: drop _likely_() This is not certain to be likely. Lennart says: a frequent usecase is invoking some function regularly in intervals in such a case every single iteration we'll have to rearm --- src/libsystemd/sd-event/sd-event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libsystemd') diff --git a/src/libsystemd/sd-event/sd-event.c b/src/libsystemd/sd-event/sd-event.c index d6549148bb..1e3afaeacc 100644 --- a/src/libsystemd/sd-event/sd-event.c +++ b/src/libsystemd/sd-event/sd-event.c @@ -1755,7 +1755,7 @@ static int event_arm_timer( assert(e); assert(d); - if (_likely_(!d->needs_rearm)) + if (!d->needs_rearm) return 0; else d->needs_rearm = false; -- cgit v1.2.3-54-g00ecf