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 15:52:22 +08:00 committed by Petro Karashchenko
parent 8308f32863
commit 40f63453f4
1 changed files with 2 additions and 2 deletions

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,