From: Ben Pfaff Date: Wed, 10 Jul 2013 21:06:15 +0000 (-0700) Subject: vlog: Remove unused function vlog_get_log_file(). X-Git-Tag: sliver-openvswitch-2.0.90-1~36^2~36 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=1b22cc551329d7265ad3afcca0bf0972164f28aa;p=sliver-openvswitch.git vlog: Remove unused function vlog_get_log_file(). Signed-off-by: Ben Pfaff Acked-by: Ed Maste --- diff --git a/lib/vlog.c b/lib/vlog.c index f6f1676ff..a5a152659 100644 --- a/lib/vlog.c +++ b/lib/vlog.c @@ -268,16 +268,6 @@ vlog_set_pattern(enum vlog_facility facility, const char *pattern) } } -/* Returns the name of the log file used by VLF_FILE, or a null pointer if no - * log file has been set. (A non-null return value does not assert that the - * named log file is in use: if vlog_set_log_file() or vlog_reopen_log_file() - * fails, it still sets the log file name.) */ -const char * -vlog_get_log_file(void) -{ - return log_file_name; -} - /* Sets the name of the log file used by VLF_FILE to 'file_name', or to the * default file name if 'file_name' is null. Returns 0 if successful, * otherwise a positive errno value. */ diff --git a/lib/vlog.h b/lib/vlog.h index b2e1d4995..ff93d30fd 100644 --- a/lib/vlog.h +++ b/lib/vlog.h @@ -127,7 +127,6 @@ void vlog_set_verbosity(const char *arg); /* Configuring log facilities. */ void vlog_set_pattern(enum vlog_facility, const char *pattern); -const char *vlog_get_log_file(void); int vlog_set_log_file(const char *file_name); int vlog_reopen_log_file(void);