aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorнаб <[email protected]>2021-04-07 15:32:45 +0200
committerBrian Behlendorf <[email protected]>2021-04-11 15:27:13 -0700
commitd09bd1962919283696961323e0fdd0c0aef3c26c (patch)
tree927f4d271788d0f7af741d60bfab495db9b46289 /cmd
parent88bf37d91a12d0048c24fdfb6db7b4de91377479 (diff)
zed: remove zed_conf::syslog_facility
No users, nobody sets it, main() hard-codes LOG_DAEMON, which is the only correct value for this Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #11860
Diffstat (limited to 'cmd')
-rw-r--r--cmd/zed/zed_conf.c1
-rw-r--r--cmd/zed/zed_conf.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/cmd/zed/zed_conf.c b/cmd/zed/zed_conf.c
index 783e1dfd7..0a6eea80d 100644
--- a/cmd/zed/zed_conf.c
+++ b/cmd/zed/zed_conf.c
@@ -43,7 +43,6 @@ zed_conf_create(void)
if (!zcp)
goto nomem;
- zcp->syslog_facility = LOG_DAEMON;
zcp->min_events = ZED_MIN_EVENTS;
zcp->max_events = ZED_MAX_EVENTS;
zcp->pid_fd = -1;
diff --git a/cmd/zed/zed_conf.h b/cmd/zed/zed_conf.h
index 1e4f81019..8ad02f91b 100644
--- a/cmd/zed/zed_conf.h
+++ b/cmd/zed/zed_conf.h
@@ -26,7 +26,6 @@ struct zed_conf {
unsigned do_verbose:1; /* true if verbosity enabled */
unsigned do_zero:1; /* true if zeroing state */
unsigned do_idle:1; /* true if idle enabled */
- int syslog_facility; /* syslog facility value */
int min_events; /* RESERVED FOR FUTURE USE */
int max_events; /* RESERVED FOR FUTURE USE */
char *pid_file; /* abs path to pid file */