stream/syslog: remove unnecessary ifdef CONFIG_SYSLOG_BUFFER

Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
chao an 2023-05-23 15:50:15 +08:00 committed by Xiang Xiao
parent 4a279b4b9b
commit f75adacea6

View File

@ -70,13 +70,11 @@ static int syslogstream_flush(FAR struct lib_outstream_s *ostream)
stream->offset = 0;
return ret;
}
#endif
/****************************************************************************
* Name: syslogstream_addchar
****************************************************************************/
#ifdef CONFIG_SYSLOG_BUFFER
static void syslogstream_addchar(FAR struct lib_syslogstream_s *stream,
int ch)
{