scx_rustland_core: Remove unused variable

Remove unused variable "tctx" in rustland_select_cpu.

Signed-off-by: I Hsin Cheng <richard120310@gmail.com>
This commit is contained in:
I Hsin Cheng 2024-07-05 01:04:49 +08:00
parent a72c9058a3
commit 1595da78dc

View File

@ -523,7 +523,6 @@ dispatch_direct_cpu(struct task_struct *p, s32 cpu, u64 slice_ns, u64 enq_flags)
s32 BPF_STRUCT_OPS(rustland_select_cpu, struct task_struct *p, s32 prev_cpu,
u64 wake_flags)
{
struct task_ctx *tctx;
s32 cpu = prev_cpu;
bool do_direct = false;