Re: [PATCH -next] sched: Remove unused extern ia64_set_curr_task()

From: Gautham R . Shenoy
Date: Wed Jul 31 2024 - 11:28:51 EST


Yue Haibing <yuehaibing@xxxxxxxxxx> writes:

> Commit cf8e8658100d ("arch: Remove Itanium (IA-64) architecture")
> remove the function but left this declaration.

Yup. This declaration is no longer needed.

>
> Signed-off-by: Yue Haibing <yuehaibing@xxxxxxxxxx>

FWIW,

Reviewed-by: Gautham R. Shenoy <gautham.shenoy@xxxxxxx>

> ---
> include/linux/sched.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/include/linux/sched.h b/include/linux/sched.h
> index 75138bf70da3..067b3a997299 100644
> --- a/include/linux/sched.h
> +++ b/include/linux/sched.h
> @@ -1852,7 +1852,6 @@ static __always_inline bool is_idle_task(const struct task_struct *p)
> }
>
> extern struct task_struct *curr_task(int cpu);
> -extern void ia64_set_curr_task(int cpu, struct task_struct *p);
>
> void yield(void);
>
> --
> 2.34.1