diff --git a/cmd/zed/zed.h b/cmd/zed/zed.h index 68a90039ac..8f2767d74d 100644 --- a/cmd/zed/zed.h +++ b/cmd/zed/zed.h @@ -30,16 +30,6 @@ */ #define ZED_ZEDLET_DIR SYSCONFDIR "/zfs/zed.d" -/* - * Reserved for future use. - */ -#define ZED_MAX_EVENTS 0 - -/* - * Reserved for future use. - */ -#define ZED_MIN_EVENTS 0 - /* * String prefix for ZED variables passed via environment variables. */ diff --git a/cmd/zed/zed_conf.c b/cmd/zed/zed_conf.c index 0a6eea80db..5f895109d9 100644 --- a/cmd/zed/zed_conf.c +++ b/cmd/zed/zed_conf.c @@ -43,8 +43,6 @@ zed_conf_create(void) if (!zcp) goto nomem; - zcp->min_events = ZED_MIN_EVENTS; - zcp->max_events = ZED_MAX_EVENTS; zcp->pid_fd = -1; zcp->zedlets = NULL; /* created via zed_conf_scan_dir() */ zcp->state_fd = -1; /* opened via zed_conf_open_state() */ diff --git a/cmd/zed/zed_conf.h b/cmd/zed/zed_conf.h index 8ad02f91bf..c0691ddbc5 100644 --- a/cmd/zed/zed_conf.h +++ b/cmd/zed/zed_conf.h @@ -26,8 +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 min_events; /* RESERVED FOR FUTURE USE */ - int max_events; /* RESERVED FOR FUTURE USE */ char *pid_file; /* abs path to pid file */ int pid_fd; /* fd to pid file for lock */ char *zedlet_dir; /* abs path to zedlet dir */