From e3a00151718b515ed0803ffd66a3307a6fcffa21 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Sun, 20 Mar 2022 18:31:21 +0100 Subject: [PATCH] mxqd: Remove unused variable global_slots_per_user --- mxqd.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/mxqd.c b/mxqd.c index 7623d54..5f0aaa6 100644 --- a/mxqd.c +++ b/mxqd.c @@ -1513,7 +1513,6 @@ long start_user_with_least_running_global_slot_count(struct mxq_server *server) struct mxq_user_list *ulist; unsigned long slots_started = 0; unsigned long slots_free; - unsigned long global_slots_per_user; int waiting = 0; unsigned long df_scratch; @@ -1528,8 +1527,6 @@ long start_user_with_least_running_global_slot_count(struct mxq_server *server) if (!slots_free) return 0; - global_slots_per_user = server->global_slots_running / server->user_cnt; - df_scratch=mx_df(MXQ_JOB_TMPDIR_FS "/."); for (ulist = server->users; ulist; ulist = ulist->next) {