From: Marek Vasut Date: Sat, 13 Jul 2024 13:19:24 +0000 (+0200) Subject: microblaze: Remove duplicate newlines X-Git-Url: http://git.dujemihanovic.xyz/html/static/git-favicon.png?a=commitdiff_plain;h=16ede539259d7cc062d2a2a648a81468c49f60b3;p=u-boot.git microblaze: Remove duplicate newlines Drop all duplicate newlines. No functional change. Signed-off-by: Marek Vasut --- diff --git a/arch/microblaze/include/asm/bitops.h b/arch/microblaze/include/asm/bitops.h index 2cab2ac62b..9ea217cd85 100644 --- a/arch/microblaze/include/asm/bitops.h +++ b/arch/microblaze/include/asm/bitops.h @@ -32,7 +32,6 @@ static inline unsigned long ffz(unsigned long word) return result; } - static inline void set_bit(int nr, volatile void *addr) { int * a = (int *) addr; @@ -257,7 +256,6 @@ found_middle: #define hweight16(x) generic_hweight16(x) #define hweight8(x) generic_hweight8(x) - static inline int ext2_set_bit(int nr, volatile void *addr) { int mask, retval; diff --git a/arch/microblaze/include/asm/posix_types.h b/arch/microblaze/include/asm/posix_types.h index ccc6235c8d..f4795f8d31 100644 --- a/arch/microblaze/include/asm/posix_types.h +++ b/arch/microblaze/include/asm/posix_types.h @@ -47,7 +47,6 @@ typedef unsigned int __kernel_gid32_t; typedef unsigned short __kernel_old_uid_t; typedef unsigned short __kernel_old_gid_t; - typedef struct { #if defined(__KERNEL__) || defined(__USE_ALL) int val[2]; @@ -56,7 +55,6 @@ typedef struct { #endif /* !defined(__KERNEL__) && !defined(__USE_ALL) */ } __kernel_fsid_t; - #if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2) #undef __FD_SET diff --git a/arch/microblaze/include/asm/ptrace.h b/arch/microblaze/include/asm/ptrace.h index b796d4faf6..ff861d10bb 100644 --- a/arch/microblaze/include/asm/ptrace.h +++ b/arch/microblaze/include/asm/ptrace.h @@ -16,7 +16,6 @@ #ifndef __MICROBLAZE_PTRACE_H__ #define __MICROBLAZE_PTRACE_H__ - /* Microblaze general purpose registers with special meanings. */ #define GPR_ZERO 0 /* constant zero */ #define GPR_ASM 18 /* reserved for assembler */ @@ -54,7 +53,6 @@ #define SR_DIR 21 #define SR_ASID 23 - #ifndef __ASSEMBLY__ typedef unsigned long microblaze_reg_t; @@ -74,7 +72,6 @@ struct pt_regs microblaze_reg_t single_step; /* 1 if in single step mode */ }; - #define instruction_pointer(regs) ((regs)->pc) #define user_mode(regs) (!(regs)->kernel_mode) @@ -87,7 +84,6 @@ struct pt_regs #endif /* !__ASSEMBLY__ */ - /* The number of bytes used to store each register. */ #define _PT_REG_SIZE 4 diff --git a/arch/microblaze/include/asm/system.h b/arch/microblaze/include/asm/system.h index 050a8b4076..4e31206436 100644 --- a/arch/microblaze/include/asm/system.h +++ b/arch/microblaze/include/asm/system.h @@ -40,7 +40,6 @@ extern void *switch_thread (struct thread_struct *last, } \ } while (0) - /* Enable/disable interrupts. */ #define __sti() \ { \