From 737f1748eb1404eb01b2924a6d38c61d25e3a442 Mon Sep 17 00:00:00 2001
From: Morris Jette <jette@schedmd.com>
Date: Mon, 18 Aug 2014 10:35:32 -0700
Subject: [PATCH] Cosmetic changes

No change to logic
---
 src/slurmctld/job_scheduler.c  | 2 +-
 src/slurmctld/node_scheduler.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/slurmctld/job_scheduler.c b/src/slurmctld/job_scheduler.c
index 35055876786..c3f6fa8ee92 100644
--- a/src/slurmctld/job_scheduler.c
+++ b/src/slurmctld/job_scheduler.c
@@ -950,7 +950,7 @@ extern int schedule(uint32_t job_limit)
 	while (1) {
 		if (fifo_sched) {
 			if (job_ptr && part_iterator &&
-			    IS_JOB_PENDING(job_ptr)) /*started in other part?*/
+			    IS_JOB_PENDING(job_ptr)) /* test job in next part */
 				goto next_part;
 			job_ptr = (struct job_record *) list_next(job_iterator);
 			if (!job_ptr)
diff --git a/src/slurmctld/node_scheduler.c b/src/slurmctld/node_scheduler.c
index 1605eef5419..22d0a2c4247 100644
--- a/src/slurmctld/node_scheduler.c
+++ b/src/slurmctld/node_scheduler.c
@@ -818,7 +818,7 @@ _get_req_features(struct node_set *node_set_ptr, int node_set_size,
 			/* _pick_best_nodes() is destructive of the node_set
 			 * data structure, so we need to make a copy and then
 			 * purge it */
-			for (i=0; i<node_set_size; i++) {
+			for (i = 0; i < node_set_size; i++) {
 				if (!_match_feature(feat_ptr->name,
 						    node_set_ptr+i))
 					continue;
@@ -1694,7 +1694,7 @@ extern int select_nodes(struct job_record *job_ptr, bool test_only,
 	 * free up. total_cpus is set within _get_req_features */
 	job_ptr->cpu_cnt = job_ptr->total_cpus;
 
-	if (!test_only && preemptee_job_list && (error_code == SLURM_SUCCESS)){
+	if (!test_only && preemptee_job_list && (error_code == SLURM_SUCCESS)) {
 		struct job_details *detail_ptr = job_ptr->details;
 		time_t now = time(NULL);
 		bool kill_pending = true;
-- 
GitLab