From 78e25e52959ca45be76256d434a6b747734c198c Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 8 Dec 2019 10:19:02 +0000 Subject: [PATCH] log: Remove a now-redundant conditional system_log is always non-NULL now. Signed-off-by: Ian Jackson --- log.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/log.c b/log.c index 84f5a86..f3b5cbd 100644 --- a/log.c +++ b/log.c @@ -49,12 +49,7 @@ FORMAT(printf,2,0) static void vMessage(uint32_t class, const char *message, va_list args) { - if (system_log) { - /* Messages go to the system log interface */ - vslilog_part(system_log, class, message, args); - } else { - vMessageFallback(class,message,args); - } + vslilog_part(system_log, class, message, args); } void Message(uint32_t class, const char *message, ...) -- 2.30.2