From: Lennart Poettering Date: Sat, 24 Apr 2010 02:23:15 +0000 (+0200) Subject: log: use _likely() when verifying log level X-Git-Tag: 0.git+20100605+dfd8ee-1~45 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab8cabad2643f392cf9fd3bf97c665c4d159692f;p=systemd log: use _likely() when verifying log level --- diff --git a/log.c b/log.c index 076fa00b..e1c9ed74 100644 --- a/log.c +++ b/log.c @@ -278,7 +278,7 @@ void log_meta( int saved_errno; - if (LOG_PRI(level) > log_max_level) + if (_likely(LOG_PRI(level) > log_max_level)) return; saved_errno = errno;