linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arch: parisc: Remove duplicate struct task_struct declaration
@ 2021-03-31  1:28 Wan Jiabing
  2021-03-31 13:40 ` Helge Deller
  0 siblings, 1 reply; 2+ messages in thread
From: Wan Jiabing @ 2021-03-31  1:28 UTC (permalink / raw)
  To: James E.J. Bottomley, Helge Deller, Wan Jiabing, linux-parisc,
	linux-kernel
  Cc: kael_w

struct task_struct is declared twice. One has been declared
at 154th line. Remove the duplicate.

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
---
 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. */
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-31 13:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-31  1:28 [PATCH] arch: parisc: Remove duplicate struct task_struct declaration Wan Jiabing
2021-03-31 13:40 ` Helge Deller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).