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:
I Hsin Cheng 2024-08-09 20:28:42 +08:00
parent 5e2500f7eb
commit b7e03b7a76

View File

@ -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.