Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 277408
b: refs/heads/master
c: 11534ec
h: refs/heads/master
v: v3
  • Loading branch information
Kamalesh Babulal authored and Ingo Molnar committed Dec 21, 2011
1 parent 6f115b4 commit 3001622
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a195f004e9496b4d99f471bb96e0a0c1af080909
refs/heads/master: 11534ec5b6cea13ae38d31799d2a5290c5d724af
3 changes: 0 additions & 3 deletions trunk/kernel/sched/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -7714,9 +7714,6 @@ int tg_set_cfs_period(struct task_group *tg, long cfs_period_us)
period = (u64)cfs_period_us * NSEC_PER_USEC;
quota = tg->cfs_bandwidth.quota;

if (period <= 0)
return -EINVAL;

return tg_set_cfs_bandwidth(tg, period, quota);
}

Expand Down

0 comments on commit 3001622

Please sign in to comment.