[PATCH 0/3] Remove unused code after IA-64 removal

Heiko Carstens posted 3 patches 2 years, 1 month ago
arch/Kconfig                 | 13 -------------
arch/powerpc/kexec/core_64.c |  3 +--
include/linux/init_task.h    |  7 -------
include/linux/sched.h        |  2 --
init/init_task.c             | 10 ++--------
kernel/fork.c                | 26 --------------------------
6 files changed, 3 insertions(+), 58 deletions(-)
[PATCH 0/3] Remove unused code after IA-64 removal
Posted by Heiko Carstens 2 years, 1 month ago
While looking into something different I noticed that there are a couple of
Kconfig options which were only selected by IA-64 and which are now unused.

So remove them and simplify the code a bit.

Heiko Carstens (3):
  arch: remove ARCH_THREAD_STACK_ALLOCATOR
  arch: remove ARCH_TASK_STRUCT_ALLOCATOR
  arch: remove ARCH_TASK_STRUCT_ON_STACK

 arch/Kconfig                 | 13 -------------
 arch/powerpc/kexec/core_64.c |  3 +--
 include/linux/init_task.h    |  7 -------
 include/linux/sched.h        |  2 --
 init/init_task.c             | 10 ++--------
 kernel/fork.c                | 26 --------------------------
 6 files changed, 3 insertions(+), 58 deletions(-)

-- 
2.39.2
Re: [PATCH 0/3] Remove unused code after IA-64 removal
Posted by Arnd Bergmann 2 years, 1 month ago
On Thu, Nov 16, 2023, at 14:36, Heiko Carstens wrote:
> While looking into something different I noticed that there are a couple of
> Kconfig options which were only selected by IA-64 and which are now unused.
>
> So remove them and simplify the code a bit.
>
> Heiko Carstens (3):
>   arch: remove ARCH_THREAD_STACK_ALLOCATOR
>   arch: remove ARCH_TASK_STRUCT_ALLOCATOR
>   arch: remove ARCH_TASK_STRUCT_ON_STACK

Nice cleanup!

Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Re: [PATCH 0/3] Remove unused code after IA-64 removal
Posted by Ard Biesheuvel 2 years, 1 month ago
On Thu, 16 Nov 2023 at 08:37, Heiko Carstens <hca@linux.ibm.com> wrote:
>
> While looking into something different I noticed that there are a couple of
> Kconfig options which were only selected by IA-64 and which are now unused.
>
> So remove them and simplify the code a bit.
>
> Heiko Carstens (3):
>   arch: remove ARCH_THREAD_STACK_ALLOCATOR
>   arch: remove ARCH_TASK_STRUCT_ALLOCATOR
>   arch: remove ARCH_TASK_STRUCT_ON_STACK
>

Acked-by: Ard Biesheuvel <ardb@kernel.org>

>  arch/Kconfig                 | 13 -------------
>  arch/powerpc/kexec/core_64.c |  3 +--
>  include/linux/init_task.h    |  7 -------
>  include/linux/sched.h        |  2 --
>  init/init_task.c             | 10 ++--------
>  kernel/fork.c                | 26 --------------------------
>  6 files changed, 3 insertions(+), 58 deletions(-)
>
> --
> 2.39.2
>