[PATCH 36/45] nios2: Remove duplicate newlines
Marek Vasut
marek.vasut+renesas at mailbox.org
Sat Jul 13 15:19:27 CEST 2024
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas at mailbox.org>
---
Cc: Francesco Dolcini <francesco.dolcini at toradex.com>
Cc: Sean Anderson <seanga2 at gmail.com>
Cc: Simon Glass <sjg at chromium.org>
Cc: Tom Rini <trini at konsulko.com>
Cc: u-boot at lists.denx.de
---
arch/nios2/cpu/interrupts.c | 2 --
arch/nios2/include/asm/bitops/atomic.h | 1 -
arch/nios2/include/asm/ptrace.h | 1 -
arch/nios2/lib/libgcc.c | 6 ------
4 files changed, 10 deletions(-)
diff --git a/arch/nios2/cpu/interrupts.c b/arch/nios2/cpu/interrupts.c
index 27093c4faa3..c98d40a49b5 100644
--- a/arch/nios2/cpu/interrupts.c
+++ b/arch/nios2/cpu/interrupts.c
@@ -98,7 +98,6 @@ void irq_install_handler(int irq, interrupt_handler_t *hdlr, void *arg)
if (flag) enable_interrupts();
}
-
int interrupt_init(void)
{
int i;
@@ -114,7 +113,6 @@ int interrupt_init(void)
return (0);
}
-
/*************************************************************************/
#if defined(CONFIG_CMD_IRQ)
int do_irqinfo(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
diff --git a/arch/nios2/include/asm/bitops/atomic.h b/arch/nios2/include/asm/bitops/atomic.h
index c8946465e63..0130fd47d39 100644
--- a/arch/nios2/include/asm/bitops/atomic.h
+++ b/arch/nios2/include/asm/bitops/atomic.h
@@ -31,7 +31,6 @@ extern raw_spinlock_t __atomic_hash[ATOMIC_HASH_SIZE] __lock_aligned;
local_irq_restore(f); \
} while(0)
-
#else
# define _atomic_spin_lock_irqsave(l,f) do { local_irq_save(f); } while (0)
# define _atomic_spin_unlock_irqrestore(l,f) do { local_irq_restore(f); } while (0)
diff --git a/arch/nios2/include/asm/ptrace.h b/arch/nios2/include/asm/ptrace.h
index 317d8ae09b4..b1feb338886 100644
--- a/arch/nios2/include/asm/ptrace.h
+++ b/arch/nios2/include/asm/ptrace.h
@@ -12,5 +12,4 @@ struct pt_regs {
unsigned status;
};
-
#endif /* __ASM_NIOS2_PTRACE_H_ */
diff --git a/arch/nios2/lib/libgcc.c b/arch/nios2/lib/libgcc.c
index a45b3e82efc..30b846179c0 100644
--- a/arch/nios2/lib/libgcc.c
+++ b/arch/nios2/lib/libgcc.c
@@ -16,7 +16,6 @@ typedef unsigned long long DSItype;
#include "longlong.h"
-
typedef int word_type;
typedef long Wtype;
typedef long long DWtype;
@@ -46,7 +45,6 @@ const UQItype __clz_tab[256] =
8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8
};
-
DWtype
__ashldi3 (DWtype u, word_type b)
{
@@ -388,7 +386,6 @@ __negdi2 (DWtype u)
return w.ll;
}
-
DWtype
__muldi3 (DWtype u, DWtype v)
{
@@ -440,7 +437,6 @@ __ucmpdi2 (DWtype a, DWtype b)
return 1;
}
-
UDWtype
__udivdi3 (UDWtype n, UDWtype d)
{
@@ -507,14 +503,12 @@ __divsi3 (SItype a, SItype b)
return res;
}
-
SItype
__udivsi3 (SItype a, SItype b)
{
return udivmodsi4 (a, b, 0);
}
-
SItype
__modsi3 (SItype a, SItype b)
{
--
2.43.0
More information about the U-Boot
mailing list