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

Yue Haibing posted 1 patch 1 year, 4 months ago
include/linux/sched.h | 1 -
1 file changed, 1 deletion(-)
[PATCH -next] sched: Remove unused extern ia64_set_curr_task()
Posted by Yue Haibing 1 year, 4 months ago
Commit cf8e8658100d ("arch: Remove Itanium (IA-64) architecture")
remove the function but left this declaration.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 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
Re: [PATCH -next] sched: Remove unused extern ia64_set_curr_task()
Posted by Gautham R.Shenoy 1 year, 4 months ago
Yue Haibing <yuehaibing@huawei.com> 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@huawei.com>

FWIW,

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

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