Re: [RESEND PATCH] c6x: remove unused KTHREAD_SIZE definition
From: Mark Salter
Date: Wed Sep 06 2017 - 11:41:25 EST
On Mon, 2017-09-04 at 15:14 -0400, JÃrÃmy Lefaure wrote:
> KTHREAD_SIZE has never been used since it has been defined for c6x arch.
> Let's remove this useless definition.
> Signed-off-by: JÃrÃmy Lefaure <jeremy.lefaure@xxxxxxxxxxxx>
> Acked-by: Mark Salter <msalter@xxxxxxxxxx>
> I sent this patch in June. It was acked by Mark Salter but I don't see
> it in the last kernel release so I resend it today.
Thanks. I pulled it into c6x tree.
> arch/c6x/kernel/asm-offsets.c | 1 -
> 1 file changed, 1 deletion(-)
> diff --git a/arch/c6x/kernel/asm-offsets.c b/arch/c6x/kernel/asm-offsets.c
> index 60f1e437745d..f8ededbfb63f 100644
> --- a/arch/c6x/kernel/asm-offsets.c
> +++ b/arch/c6x/kernel/asm-offsets.c
> @@ -106,7 +106,6 @@ void foo(void)
> /* These would be unneccessary if we ran asm files
> * through the preprocessor.
> - DEFINE(KTHREAD_SIZE, THREAD_SIZE);
> DEFINE(KTHREAD_SHIFT, THREAD_SHIFT);
> DEFINE(KTHREAD_START_SP, THREAD_START_SP);
> DEFINE(ENOSYS_, ENOSYS);