diff mbox series

arch: parisc: Remove duplicate struct task_struct declaration

Message ID 20210331012857.2799385-1-wanjiabing@vivo.com (mailing list archive)
State Accepted, archived
Headers show
Series arch: parisc: Remove duplicate struct task_struct declaration | expand

Commit Message

Jiabing Wan March 31, 2021, 1:28 a.m. UTC
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(-)

Comments

Helge Deller March 31, 2021, 1:40 p.m. UTC | #1
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@vivo.com>

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. */
>
diff mbox series

Patch

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. */