[U-Boot] [PATCH] nios2: remove asm/psr.h

Remove asm/psr.h, which is not used. Also clean up asm/sections.h and unaligned.h.
Signed-off-by: Thomas Chou thomas@wytron.com.tw --- arch/nios2/include/asm/psr.h | 12 ------------ arch/nios2/include/asm/sections.h | 10 ---------- arch/nios2/include/asm/unaligned.h | 5 ----- 3 files changed, 27 deletions(-) delete mode 100644 arch/nios2/include/asm/psr.h
diff --git a/arch/nios2/include/asm/psr.h b/arch/nios2/include/asm/psr.h deleted file mode 100644 index 3ebb2a0..0000000 --- a/arch/nios2/include/asm/psr.h +++ /dev/null @@ -1,12 +0,0 @@ -/* - * (C) Copyright 2004, Psyent Corporation <www.psyent.com> - * Scott McNutt smcnutt@psyent.com - * - * SPDX-License-Identifier: GPL-2.0+ - */ - -#ifndef __ASM_NIOS2_PSR_H_ -#define __ASM_NIOS2_PSR_H_ - - -#endif /* __ASM_NIOS2_PSR_H_ */ diff --git a/arch/nios2/include/asm/sections.h b/arch/nios2/include/asm/sections.h index f0da75d..2b8c516 100644 --- a/arch/nios2/include/asm/sections.h +++ b/arch/nios2/include/asm/sections.h @@ -1,11 +1 @@ -/* - * Copyright (c) 2012 The Chromium OS Authors. - * SPDX-License-Identifier: GPL-2.0+ - */ - -#ifndef __ASM_NIOS2_SECTIONS_H -#define __ASM_NIOS2_SECTIONS_H - #include <asm-generic/sections.h> - -#endif diff --git a/arch/nios2/include/asm/unaligned.h b/arch/nios2/include/asm/unaligned.h index 779117c..6cecbbb 100644 --- a/arch/nios2/include/asm/unaligned.h +++ b/arch/nios2/include/asm/unaligned.h @@ -1,6 +1 @@ -#ifndef _ASM_NIOS2_UNALIGNED_H -#define _ASM_NIOS2_UNALIGNED_H - #include <asm-generic/unaligned.h> - -#endif /* _ASM_NIOS2_UNALIGNED_H */

On Wednesday, October 07, 2015 at 02:56:05 PM, Thomas Chou wrote:
Remove asm/psr.h, which is not used. Also clean up asm/sections.h and unaligned.h.
Signed-off-by: Thomas Chou thomas@wytron.com.tw
Cool :-)
Reviewed-by: Marek Vasut marex@denx.de
Best regards, Marek Vasut

On 10/07/2015 08:56 PM, Thomas Chou wrote:
Remove asm/psr.h, which is not used. Also clean up asm/sections.h and unaligned.h.
Signed-off-by: Thomas Chou thomas@wytron.com.tw
arch/nios2/include/asm/psr.h | 12 ------------ arch/nios2/include/asm/sections.h | 10 ---------- arch/nios2/include/asm/unaligned.h | 5 ----- 3 files changed, 27 deletions(-) delete mode 100644 arch/nios2/include/asm/psr.h
Applied to u-boot-nios.
diff --git a/arch/nios2/include/asm/psr.h b/arch/nios2/include/asm/psr.h deleted file mode 100644 index 3ebb2a0..0000000 --- a/arch/nios2/include/asm/psr.h +++ /dev/null @@ -1,12 +0,0 @@ -/*
- (C) Copyright 2004, Psyent Corporation <www.psyent.com>
- Scott McNutt smcnutt@psyent.com
- SPDX-License-Identifier: GPL-2.0+
- */
-#ifndef __ASM_NIOS2_PSR_H_ -#define __ASM_NIOS2_PSR_H_
-#endif /* __ASM_NIOS2_PSR_H_ */ diff --git a/arch/nios2/include/asm/sections.h b/arch/nios2/include/asm/sections.h index f0da75d..2b8c516 100644 --- a/arch/nios2/include/asm/sections.h +++ b/arch/nios2/include/asm/sections.h @@ -1,11 +1 @@ -/*
- Copyright (c) 2012 The Chromium OS Authors.
- SPDX-License-Identifier: GPL-2.0+
- */
-#ifndef __ASM_NIOS2_SECTIONS_H -#define __ASM_NIOS2_SECTIONS_H
- #include <asm-generic/sections.h>
-#endif diff --git a/arch/nios2/include/asm/unaligned.h b/arch/nios2/include/asm/unaligned.h index 779117c..6cecbbb 100644 --- a/arch/nios2/include/asm/unaligned.h +++ b/arch/nios2/include/asm/unaligned.h @@ -1,6 +1 @@ -#ifndef _ASM_NIOS2_UNALIGNED_H -#define _ASM_NIOS2_UNALIGNED_H
- #include <asm-generic/unaligned.h>
-#endif /* _ASM_NIOS2_UNALIGNED_H */
participants (2)
-
Marek Vasut
-
Thomas Chou