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) {