From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Chou Date: Tue, 13 Oct 2015 21:14:50 +0800 Subject: [U-Boot] [PATCH] nios2: remove asm/psr.h In-Reply-To: <1444222565-4011-1-git-send-email-thomas@wytron.com.tw> References: <1444222565-4011-1-git-send-email-thomas@wytron.com.tw> Message-ID: <561D03CA.9060503@wytron.com.tw> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > 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 > - * Scott McNutt > - * > - * 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 > - > -#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 > - > -#endif /* _ASM_NIOS2_UNALIGNED_H */ >