Imported Upstream version 16.07-rc1
[deb_dpdk.git] / lib / librte_eal / linuxapp / eal / eal_debug.c
index 907fbfa..5fbc17c 100644 (file)
@@ -77,9 +77,6 @@ void __rte_panic(const char *funcname, const char *format, ...)
 {
        va_list ap;
 
-       /* disable history */
-       rte_log_set_history(0);
-
        rte_log(RTE_LOG_CRIT, RTE_LOGTYPE_EAL, "PANIC in %s():\n", funcname);
        va_start(ap, format);
        rte_vlog(RTE_LOG_CRIT, RTE_LOGTYPE_EAL, format, ap);
@@ -98,9 +95,6 @@ rte_exit(int exit_code, const char *format, ...)
 {
        va_list ap;
 
-       /* disable history */
-       rte_log_set_history(0);
-
        if (exit_code != 0)
                RTE_LOG(CRIT, EAL, "Error - exiting with code: %d\n"
                                "  Cause: ", exit_code);