ramlog: Remove g_ramlog_syslog_channel since it's same as g_default_channel

And remove syslog_init_e because all initialization is later now and we don't
distinguish the initialition phase anymore after ramlog don't need special
initialize.
This commit is contained in:
Xiang Xiao
2020-02-18 16:40:59 +08:00
committed by Gregory Nutt
parent dcaaf2d912
commit 51a2171c71
20 changed files with 26 additions and 219 deletions
-8
View File
@@ -49,7 +49,6 @@
#include <nuttx/net/loopback.h>
#include <nuttx/net/tun.h>
#include <nuttx/net/telnet.h>
#include <nuttx/syslog/syslog.h>
#include <nuttx/syslog/syslog_console.h>
#include <nuttx/serial/pty.h>
#include <nuttx/crypto/crypto.h>
@@ -165,13 +164,6 @@ void up_initialize(void)
ptmx_register();
#endif
/* Early initialization of the system logging device. Some SYSLOG channel
* can be initialized early in the initialization sequence because they
* depend on only minimal OS initialization.
*/
syslog_initialize(SYSLOG_INIT_EARLY);
#if defined(CONFIG_CRYPTO)
/* Initialize the HW crypto and /dev/crypto */