From: Ben Pfaff Date: Wed, 10 Jul 2013 21:46:41 +0000 (-0700) Subject: vlog: Remove unused function vlog_exit(). X-Git-Tag: sliver-openvswitch-2.0.90-1~36^2~35 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=c66ee51484d7489c635fcc58fd87e85665730f78;p=sliver-openvswitch.git vlog: Remove unused function vlog_exit(). This is harder to implement once threads are introduced. Signed-off-by: Ben Pfaff Acked-by: Ed Maste --- 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, ...)