diff options
author | Bin Meng | 2022-10-26 12:40:07 +0800 |
---|---|---|
committer | Tom Rini | 2022-11-02 13:58:17 -0400 |
commit | ea253ad7b53f4ec3b614cebcc29d5905f10a23e3 (patch) | |
tree | ad2a0f79a010f5c5fea46e77b5b2b57d2fd1580d /arch/powerpc/cpu | |
parent | aa59c1bec793c1e8155032268ac95171437aa418 (diff) |
treewide: Remove the unnecessary space before semicolon
%s/return ;/return;
Signed-off-by: Bin Meng <bmeng@tinylab.org>
Diffstat (limited to 'arch/powerpc/cpu')
-rw-r--r-- | arch/powerpc/cpu/mpc85xx/cpu_init.c | 2 | ||||
-rw-r--r-- | arch/powerpc/cpu/mpc85xx/cpu_init_early.c | 2 | ||||
-rw-r--r-- | arch/powerpc/cpu/mpc85xx/fdt.c | 6 | ||||
-rw-r--r-- | arch/powerpc/cpu/mpc85xx/liodn.c | 4 | ||||
-rw-r--r-- | arch/powerpc/cpu/mpc85xx/mpc8548_serdes.c | 2 | ||||
-rw-r--r-- | arch/powerpc/cpu/mpc85xx/portals.c | 8 | ||||
-rw-r--r-- | arch/powerpc/cpu/mpc85xx/tlb.c | 2 | ||||
-rw-r--r-- | arch/powerpc/cpu/mpc8xxx/fdt.c | 2 | ||||
-rw-r--r-- | arch/powerpc/cpu/mpc8xxx/law.c | 2 |
9 files changed, 15 insertions, 15 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/cpu_init.c b/arch/powerpc/cpu/mpc85xx/cpu_init.c index 92a7e608ceb..90f024d0a7f 100644 --- a/arch/powerpc/cpu/mpc85xx/cpu_init.c +++ b/arch/powerpc/cpu/mpc85xx/cpu_init.c @@ -446,7 +446,7 @@ ulong cpu_init_f(void) /* Implement a dummy function for those platforms w/o SERDES */ static void __fsl_serdes__init(void) { - return ; + return; } __attribute__((weak, alias("__fsl_serdes__init"))) void fsl_serdes_init(void); diff --git a/arch/powerpc/cpu/mpc85xx/cpu_init_early.c b/arch/powerpc/cpu/mpc85xx/cpu_init_early.c index 8d629d3b960..e6d3058dd5b 100644 --- a/arch/powerpc/cpu/mpc85xx/cpu_init_early.c +++ b/arch/powerpc/cpu/mpc85xx/cpu_init_early.c @@ -76,7 +76,7 @@ void setup_ifc(void) ifc_out32(&(ifc_regs.gregs->csor_cs[0].csor), CONFIG_SYS_CSOR0); ifc_out32(&(ifc_regs.gregs->amask_cs[0].amask), CONFIG_SYS_AMASK0); - return ; + return; } #endif diff --git a/arch/powerpc/cpu/mpc85xx/fdt.c b/arch/powerpc/cpu/mpc85xx/fdt.c index c8ad6a1b01c..61d8aa7f4c1 100644 --- a/arch/powerpc/cpu/mpc85xx/fdt.c +++ b/arch/powerpc/cpu/mpc85xx/fdt.c @@ -271,13 +271,13 @@ static inline void ft_fixup_l2cache(void *blob) if (ph == NULL) { debug("no next-level-cache property\n"); - return ; + return; } off = fdt_node_offset_by_phandle(blob, *ph); if (off < 0) { printf("%s: %s\n", __func__, fdt_strerror(off)); - return ; + return; } ft_fixup_l2cache_compatible(blob, off); @@ -373,7 +373,7 @@ next: l3_off = fdt_node_offset_by_phandle(blob, l3_off); if (l3_off < 0) { printf("%s: %s\n", __func__, fdt_strerror(off)); - return ; + return; } ft_fixup_l3cache(blob, l3_off); } diff --git a/arch/powerpc/cpu/mpc85xx/liodn.c b/arch/powerpc/cpu/mpc85xx/liodn.c index a0840024949..34974c92bdb 100644 --- a/arch/powerpc/cpu/mpc85xx/liodn.c +++ b/arch/powerpc/cpu/mpc85xx/liodn.c @@ -111,7 +111,7 @@ static void setup_fman_liodn_base(enum fsl_dpaa_dev dev, #endif default: printf("Error: Invalid device type to %s\n", __FUNCTION__); - return ; + return; } base = (liodn_bases[dev].id[0] << 16) | liodn_bases[dev].id[0]; @@ -232,7 +232,7 @@ static void fdt_fixup_srio_liodn(void *blob, struct srio_liodn_id_table *tbl) /* search for srio node, if doesn't exist just return - nothing todo */ srio_off = fdt_node_offset_by_compatible(blob, -1, "fsl,srio"); if (srio_off < 0) - return ; + return; for (i = 0; i < srio_liodn_tbl_sz; i++) { int off, portid = tbl[i].portid; diff --git a/arch/powerpc/cpu/mpc85xx/mpc8548_serdes.c b/arch/powerpc/cpu/mpc85xx/mpc8548_serdes.c index 2a5c3e32002..38f30afdfc4 100644 --- a/arch/powerpc/cpu/mpc85xx/mpc8548_serdes.c +++ b/arch/powerpc/cpu/mpc85xx/mpc8548_serdes.c @@ -45,7 +45,7 @@ void fsl_serdes_init(void) if (srds1_cfg >= ARRAY_SIZE(serdes1_cfg_tbl)) { printf("Invalid PORDEVSR[IO_SEL] = %d\n", srds1_cfg); - return ; + return; } for (lane = 0; lane < SRDS1_MAX_LANES; lane++) { diff --git a/arch/powerpc/cpu/mpc85xx/portals.c b/arch/powerpc/cpu/mpc85xx/portals.c index 52e2124fb97..6b4cbddcdfe 100644 --- a/arch/powerpc/cpu/mpc85xx/portals.c +++ b/arch/powerpc/cpu/mpc85xx/portals.c @@ -21,7 +21,7 @@ void fdt_portal(void *blob, const char *compat, const char *container, off = fdt_node_offset_by_compatible(blob, -1, compat); if (off < 0) - return ; + return; off = fdt_parent_offset(blob, off); /* if non-zero assume we have a container */ @@ -35,7 +35,7 @@ void fdt_portal(void *blob, const char *compat, const char *container, range = fdt_getprop_w(blob, off, "ranges", &len); if (range == NULL) { printf("ERROR: container for %s has no ranges", compat); - return ; + return; } range[0] = 0; @@ -61,13 +61,13 @@ void fdt_portal(void *blob, const char *compat, const char *container, if (container && (memcmp(container, name, len))) { printf("WARNING: container names didn't match %s %s\n", container, name); - return ; + return; } memcpy(&buf, name, len); len += sprintf(&buf[len], "@%llx", addr); fdt_set_name(blob, off, buf); - return ; + return; } printf("ERROR: %s isn't in a container. Not supported\n", compat); diff --git a/arch/powerpc/cpu/mpc85xx/tlb.c b/arch/powerpc/cpu/mpc85xx/tlb.c index e39fe14382d..81e60722f9f 100644 --- a/arch/powerpc/cpu/mpc85xx/tlb.c +++ b/arch/powerpc/cpu/mpc85xx/tlb.c @@ -41,7 +41,7 @@ __weak void init_tlbs(void) tlb_table[i].mas7); } - return ; + return; } #if !defined(CONFIG_NAND_SPL) && \ diff --git a/arch/powerpc/cpu/mpc8xxx/fdt.c b/arch/powerpc/cpu/mpc8xxx/fdt.c index 871554a7f48..30042902487 100644 --- a/arch/powerpc/cpu/mpc8xxx/fdt.c +++ b/arch/powerpc/cpu/mpc8xxx/fdt.c @@ -128,7 +128,7 @@ void ft_srio_setup(void *blob) /* search for srio node, if doesn't exist just return - nothing todo */ srio_off = fdt_node_offset_by_compatible(blob, -1, "fsl,srio"); if (srio_off < 0) - return ; + return; #ifdef CONFIG_SRIO1 if (is_serdes_configured(SRIO1)) diff --git a/arch/powerpc/cpu/mpc8xxx/law.c b/arch/powerpc/cpu/mpc8xxx/law.c index 198b5b10a52..24bbe3b45f7 100644 --- a/arch/powerpc/cpu/mpc8xxx/law.c +++ b/arch/powerpc/cpu/mpc8xxx/law.c @@ -353,5 +353,5 @@ void init_laws(void) } #endif - return ; + return; } |