diff options
Diffstat (limited to 'src/login')
-rw-r--r-- | src/login/logind-core.c | 1 | ||||
-rw-r--r-- | src/login/logind-gperf.gperf | 2 | ||||
-rw-r--r-- | src/login/logind-user.c | 1 | ||||
-rw-r--r-- | src/login/logind.h | 1 |
4 files changed, 1 insertions, 4 deletions
diff --git a/src/login/logind-core.c b/src/login/logind-core.c index 4585afedc6..e84b38096a 100644 --- a/src/login/logind-core.c +++ b/src/login/logind-core.c @@ -54,7 +54,6 @@ void manager_reset_config(Manager *m) { m->idle_action = HANDLE_IGNORE; m->runtime_dir_size = physical_memory_scale(10U, 100U); /* 10% */ - m->user_tasks_max = system_tasks_max_scale(DEFAULT_USER_TASKS_MAX_PERCENTAGE, 100U); /* 33% */ m->sessions_max = 8192; m->inhibitors_max = 8192; diff --git a/src/login/logind-gperf.gperf b/src/login/logind-gperf.gperf index 8829ce7d85..983795da40 100644 --- a/src/login/logind-gperf.gperf +++ b/src/login/logind-gperf.gperf @@ -41,4 +41,4 @@ Login.RuntimeDirectorySize, config_parse_tmpfs_size, 0, offse Login.RemoveIPC, config_parse_bool, 0, offsetof(Manager, remove_ipc) Login.InhibitorsMax, config_parse_uint64, 0, offsetof(Manager, inhibitors_max) Login.SessionsMax, config_parse_uint64, 0, offsetof(Manager, sessions_max) -Login.UserTasksMax, config_parse_compat_user_tasks_max, 0, offsetof(Manager, user_tasks_max) +Login.UserTasksMax, config_parse_compat_user_tasks_max, 0, 0 diff --git a/src/login/logind-user.c b/src/login/logind-user.c index c3c8b1a2a5..1550431bea 100644 --- a/src/login/logind-user.c +++ b/src/login/logind-user.c @@ -849,7 +849,6 @@ int config_parse_compat_user_tasks_max( assert(filename); assert(lvalue); assert(rvalue); - assert(data); log_syntax(unit, LOG_NOTICE, filename, line, 0, "Support for option %s= has been removed.", diff --git a/src/login/logind.h b/src/login/logind.h index 5e2dc8cb77..f0f8928ef2 100644 --- a/src/login/logind.h +++ b/src/login/logind.h @@ -119,7 +119,6 @@ struct Manager { sd_event_source *lid_switch_ignore_event_source; uint64_t runtime_dir_size; - uint64_t user_tasks_max; uint64_t sessions_max; uint64_t inhibitors_max; }; |