Skip to content

Commit e59f253

Browse files
authored
Merge pull request #2480 from EricccTaiwan/tickless-rm-unused-var
scx_tickless: Remove unused variable
2 parents 61a3414 + b9a201b commit e59f253

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

scheds/rust/scx_tickless/src/bpf/main.bpf.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,6 @@ s32 BPF_STRUCT_OPS(tickless_select_cpu, struct task_struct *p, s32 prev_cpu, u64
240240

241241
void BPF_STRUCT_OPS(tickless_enqueue, struct task_struct *p, u64 enq_flags)
242242
{
243-
s32 cpu = scx_bpf_task_cpu(p);
244243
struct task_ctx *tctx;
245244
u64 deadline;
246245

0 commit comments

Comments
 (0)