diff options
| author | Boqun Feng <boqun@kernel.org> | 2026-08-04 09:14:30 -0700 |
|---|---|---|
| committer | Peter Zijlstra <peterz@infradead.org> | 2026-08-10 10:50:19 +0200 |
| commit | ac4231a77973fc20808ed84c4af343eca2342d4b (patch) | |
| tree | 900f8684e4b1d5e89eea10bf311de369750063b6 /tools/perf/scripts/python/bin | |
| parent | 1b086687483371621e684e2a05b2bcd2cf07b634 (diff) | |
sched: Remove the unused preempt_offset parameter of __cant_sleep()
The preempt_offset is always 0 in all the callsites of __cant_sleep(),
hence remove it. It also allows us to clear up the code a bit by
no longer using a "preempt_count() > .." comparison.
Signed-off-by: Boqun Feng <boqun@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20260804161447.84806-9-boqun@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
