drivers/syslog/syslog_flush.c: Uncomment the g_syslog_channel->sc_flush call

This commit is contained in:
Xiang Xiao 2018-11-09 08:36:45 -06:00 committed by Gregory Nutt
parent 0f940e06f5
commit 16909c80a3

View File

@ -89,12 +89,8 @@ int syslog_flush(void)
(void)syslog_flush_intbuffer(g_syslog_channel, true);
#endif
#if 0
/* Then flush all of the buffered output to the SYSLOG device */
DEBUGASSERT(g_syslog_channel->sc_flush != NULL);
return g_syslog_channel->sc_flush();
#else
return 0;
#endif
}