[PATCH 33/45] microblaze: Remove duplicate newlines

Michal Simek monstr at monstr.eu
Tue Jul 16 09:12:14 CEST 2024


so 13. 7. 2024 v 15:26 odesílatel Marek Vasut
<marek.vasut+renesas at mailbox.org> napsal:
>
> 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/microblaze/include/asm/bitops.h      | 2 --
>  arch/microblaze/include/asm/posix_types.h | 2 --
>  arch/microblaze/include/asm/ptrace.h      | 4 ----
>  arch/microblaze/include/asm/system.h      | 1 -
>  4 files changed, 9 deletions(-)
>
> diff --git a/arch/microblaze/include/asm/bitops.h b/arch/microblaze/include/asm/bitops.h
> index 2cab2ac62b9..9ea217cd854 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 ccc6235c8d9..f4795f8d317 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 b796d4faf6b..ff861d10bb4 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 050a8b40763..4e31206436d 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() \
>  {                                                              \
> --
> 2.43.0
>

Reviewed-by: Michal Simek <michal.simek at amd.com>

Thanks,
Michal

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs


More information about the U-Boot mailing list