c6x: remove unused KTHREAD_SIZE definition
authorJérémy Lefaure <jeremy.lefaure@lse.epita.fr>
Mon, 4 Sep 2017 19:14:12 +0000 (15:14 -0400)
committerMark Salter <msalter@redhat.com>
Tue, 10 Apr 2018 13:58:38 +0000 (09:58 -0400)
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@lse.epita.fr>
Signed-off-by: Mark Salter <msalter@redhat.com>
arch/c6x/kernel/asm-offsets.c

index cff5776..0f8fde4 100644 (file)
@@ -107,7 +107,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);