diff options
author | Peter Zijlstra <peterz@infradead.org> | 2023-06-09 21:45:16 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-04-03 16:28:18 +0300 |
commit | c4c2f7e672e780be0bb867bd7e18ca53d16bc8da (patch) | |
tree | e7fae06ff49ce79c477c5fb5c52e65efd0f5e36b /drivers/thermal | |
parent | 0641908b906a133f1494c312a71f9fecbe2b6c78 (diff) | |
download | linux-c4c2f7e672e780be0bb867bd7e18ca53d16bc8da.tar.xz |
sched: Simplify tg_set_cfs_bandwidth()
[ Upstream commit 6fb45460615358157a6d3c990e74f9c1395247e2 ]
Use guards to reduce gotos and simplify control flow.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Stable-dep-of: 1aa09b9379a7 ("powercap: intel_rapl: Fix locking in TPMI RAPL")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/thermal')
0 files changed, 0 insertions, 0 deletions