mirror of
https://github.com/sched-ext/scx.git
synced 2024-11-28 21:50:23 +00:00
scx_bpfland: Remove unused variable
Remove unused variable "vtime" in task_vtime(). Signed-off-by: I Hsin Cheng <richard120310@gmail.com>
This commit is contained in:
parent
5e2500f7eb
commit
b7e03b7a76
@ -288,8 +288,6 @@ static inline bool vtime_before(u64 a, u64 b)
|
||||
*/
|
||||
static inline u64 task_vtime(struct task_struct *p)
|
||||
{
|
||||
u64 vtime = p->scx.dsq_vtime;
|
||||
|
||||
/*
|
||||
* Limit the vruntime to (vtime_now - slice_ns_lag) to avoid
|
||||
* excessively penalizing tasks.
|
||||
|
Loading…
Reference in New Issue
Block a user