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
This commit is contained in:
Tom Gundersen 2014-08-14 01:59:58 +02:00
parent 19f8d03783
commit d06441da04
1 changed files with 1 additions and 1 deletions

View File

@ -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;