From c30fef252313ab0e7e99fc32e5ad25f4d9f45a92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Wed, 7 Apr 2021 15:32:45 +0200 Subject: [PATCH] zed: remove zed_conf::syslog_facility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit No users, nobody sets it, main() hard-codes LOG_DAEMON, which is the only correct value for this Reviewed-by: Brian Behlendorf Signed-off-by: Ahelenia ZiemiaƄska Closes #11860 --- cmd/zed/zed_conf.c | 1 - cmd/zed/zed_conf.h | 1 - 2 files changed, 2 deletions(-) diff --git a/cmd/zed/zed_conf.c b/cmd/zed/zed_conf.c index 783e1dfd73..0a6eea80db 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 1e4f810191..8ad02f91bf 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 */