From 190abad0928d594193691ae5a205b37d2af1dc87 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Sat, 13 Jul 2024 15:19:27 +0200 Subject: nios2: Remove duplicate newlines Drop all duplicate newlines. No functional change. Signed-off-by: Marek Vasut --- 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) { -- cgit v1.2.3