Re: [PATCH] arch: parisc: Remove duplicate struct task_struct declaration

From: Helge Deller
Date: Wed Mar 31 2021 - 09:43:11 EST


On 3/31/21 3:28 AM, Wan Jiabing wrote:
struct task_struct is declared twice. One has been declared
at 154th line. Remove the duplicate.

Signed-off-by: Wan Jiabing <wanjiabing@xxxxxxxx>

Thanks, applied to parisc tree.

Helge

---
arch/parisc/include/asm/processor.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/arch/parisc/include/asm/processor.h b/arch/parisc/include/asm/processor.h
index 11ece0d07374..b5fbcd2c1780 100644
--- a/arch/parisc/include/asm/processor.h
+++ b/arch/parisc/include/asm/processor.h
@@ -272,7 +272,6 @@ on downward growing arches, it looks like this:
regs->gr[23] = 0; \
} while(0)

-struct task_struct;
struct mm_struct;

/* Free all resources held by a thread. */