syslog/channel: minor fix to avoid unreachabled return

Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
chao.an
2022-03-19 11:13:44 +02:00
committed by Petro Karashchenko
parent 8308f32863
commit 40f63453f4
+2 -2
View File
@@ -175,9 +175,9 @@ static int syslog_default_putc(FAR struct syslog_channel_s *channel, int ch)
#if defined(CONFIG_ARCH_LOWPUTC)
return up_putc(ch);
#endif
#else
return ch;
#endif
}
static ssize_t syslog_default_write(FAR struct syslog_channel_s *channel,