summaryrefslogtreecommitdiff
path: root/kern/thread.c
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-03-04 18:13:14 +0100
committerRichard Braun <rbraun@sceen.net>2017-03-04 18:13:14 +0100
commit9ed05f3ef371e569eafd49c0924fea2499f5f6fe (patch)
treefaa4444b128b770bf4592104d1ffbd1b3f36172e /kern/thread.c
parent3e2e232b5308b1365e66bf664d9562455d6cad1b (diff)
Add missing braces for one-line blocks
Diffstat (limited to 'kern/thread.c')
-rw-r--r--kern/thread.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kern/thread.c b/kern/thread.c
index 14070d92..da61ed68 100644
--- a/kern/thread.c
+++ b/kern/thread.c
@@ -1405,10 +1405,11 @@ thread_sched_fs_balance_migrate(struct thread_runq *runq,
* Threads in the expired queue of a processor in round highest are
* actually in round highest + 1.
*/
- if (remote_runq->fs_round != highest_round)
+ if (remote_runq->fs_round != highest_round) {
nr_pulls = thread_sched_fs_balance_pull(runq, remote_runq,
remote_runq->fs_runq_expired,
nr_pulls);
+ }
out:
return nr_pulls;