Skip to content

Commit

Permalink
mxqd: Remove unused variable global_slots_per_user
Browse files Browse the repository at this point in the history
  • Loading branch information
donald committed Mar 20, 2022
1 parent 0517689 commit e3a0015
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions mxqd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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) {
Expand Down

0 comments on commit e3a0015

Please sign in to comment.