From c66ee51484d7489c635fcc58fd87e85665730f78 Mon Sep 17 00:00:00 2001 From: Ben Pfaff <blp@nicira.com> Date: Wed, 10 Jul 2013 14:46:41 -0700 Subject: [PATCH] vlog: Remove unused function vlog_exit(). This is harder to implement once threads are introduced. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Ed Maste <emaste@freebsd.org> --- lib/vlog.c | 10 ---------- lib/vlog.h | 1 - 2 files changed, 11 deletions(-) diff --git a/lib/vlog.c b/lib/vlog.c index a5a152659..ded434fee 100644 --- a/lib/vlog.c +++ b/lib/vlog.c @@ -571,16 +571,6 @@ vlog_init(void) vlog_unixctl_reopen, NULL); } -/* Closes the logging subsystem. */ -void -vlog_exit(void) -{ - if (vlog_inited) { - closelog(); - vlog_inited = false; - } -} - /* Print the current logging level for each module. */ char * vlog_get_levels(void) diff --git a/lib/vlog.h b/lib/vlog.h index ff93d30fd..3466d964b 100644 --- a/lib/vlog.h +++ b/lib/vlog.h @@ -132,7 +132,6 @@ int vlog_reopen_log_file(void); /* Initialization. */ void vlog_init(void); -void vlog_exit(void); /* Functions for actual logging. */ void vlog(const struct vlog_module *, enum vlog_level, const char *format, ...) -- 2.47.0