]> git.sur5r.net Git - u-boot/commitdiff
treewide: remove unneeded semicolons
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 13 Jun 2017 06:17:28 +0000 (15:17 +0900)
committerTom Rini <trini@konsulko.com>
Fri, 16 Jun 2017 14:11:38 +0000 (10:11 -0400)
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
14 files changed:
arch/powerpc/cpu/ppc4xx/speed.c
board/amcc/bamboo/bamboo.c
board/amcc/luan/luan.c
board/freescale/s32v234evb/clock.c
board/ti/beagle/beagle.c
board/tqc/tqm5200/cmd_stk52xx.c
drivers/ddr/marvell/axp/ddr3_dqs.c
drivers/mtd/dataflash.c
drivers/net/fsl_mcdmafec.c
drivers/net/mpc512x_fec.c
drivers/net/ne2000_base.c
fs/yaffs2/yaffs_uboot_glue.c
include/linux/compat.h
tools/img2srec.c

index 3e1a7016d94974149ba9e8c411e7ff53db35f8d7..49a8295bb3639b8965963ab5d0ba0c43cc3e729a 100644 (file)
@@ -709,7 +709,7 @@ unsigned long determine_pci_clock_per(void)
                        pci_period = PERIOD_66_66MHZ;
                        break;
                default:
-                       pci_period = PERIOD_33_33MHZ;;
+                       pci_period = PERIOD_33_33MHZ;
                        break;
        }
 
index 6a50b393f462b56200fcf29a20ebeb9ae5fcde7e..9f642071cc5d93759752ae73bb7d9369bc13b9f8 100644 (file)
@@ -1880,7 +1880,7 @@ void configure_ppc440ep_pins(void)
        if (ppc440ep_core_selection[PACKET_REJ_FUNC_EN] == CORE_SELECTED)
        {
                mfsdr(SDR0_MFR, sdr0_mfr);
-               sdr0_mfr = (sdr0_mfr & ~SDR0_MFR_PKT_REJ_MASK) | SDR0_MFR_PKT_REJ_EN;;
+               sdr0_mfr = (sdr0_mfr & ~SDR0_MFR_PKT_REJ_MASK) | SDR0_MFR_PKT_REJ_EN;
                mtsdr(SDR0_MFR, sdr0_mfr);
        }
 
index 774671db4321b3bb34ea8b0aca61be44665476e6..f98231a8da6cd9c73611df4b52c78d4ea7ad2304 100644 (file)
@@ -161,7 +161,7 @@ static void l2cache_enable(void)    /* see p258 7.4.1 Enabling L2 Cache */
 
        mtdcr( L2_CACHE_CMD, 0x80000000 );      /* issue HCLEAR command via L2_CMD */
 
-       while (!(mfdcr( L2_CACHE_STAT ) & 0x80000000 ))  ;; /* poll L2_SR for completion */
+       while (!(mfdcr( L2_CACHE_STAT ) & 0x80000000 ))  ; /* poll L2_SR for completion */
 
        mtdcr( L2_CACHE_CMD, 0x10000000 );      /* clear cache errors L2_CMD[CCP] */
 
index d218c21419b1061c9a3b3f9df4f37b5461b6a066..e8996e094f92aef645e91842f0a1b8d766cbb228 100644 (file)
@@ -45,7 +45,7 @@ static int select_pll_source_clk(enum pll_type pll, u32 refclk_freq)
                pll_idx = 1;
                break;
        case DDR_PLL:
-               pll_idx = 2;;
+               pll_idx = 2;
                break;
        default:
                pll_idx = pll;
index 00d127e21b3a08f239d5c5def62c68e1019334e2..887b577b6adf940f709c36a037e38f22c17dae66 100644 (file)
@@ -443,13 +443,13 @@ int misc_init_r(void)
                printf("Recognized BeagleBoardToys WiFi board\n");
                MUX_BBTOYS_WIFI()
                setenv("buddy", "bbtoys-wifi");
-               break;;
+               break;
        case BBTOYS_VGA:
                printf("Recognized BeagleBoardToys VGA board\n");
-               break;;
+               break;
        case BBTOYS_LCD:
                printf("Recognized BeagleBoardToys LCD board\n");
-               break;;
+               break;
        case BCT_BRETTL3:
                printf("Recognized bct electronic GmbH brettl3 board\n");
                break;
index dc22ee4024804a84537eff7a75ea1dad2d36c261..a3916ed9571d678477f727516c10bfc56ec4abf2 100644 (file)
@@ -142,7 +142,7 @@ void amplifier_init(void)
 static void i2s_init(void)
 {
        unsigned long i;
-       struct mpc5xxx_psc *psc = (struct mpc5xxx_psc*)MPC5XXX_PSC2;;
+       struct mpc5xxx_psc *psc = (struct mpc5xxx_psc*)MPC5XXX_PSC2;
        struct mpc5xxx_gpio *gpio = (struct mpc5xxx_gpio*)MPC5XXX_GPIO;
 
        gpio->port_config |= 0x00000070; /* PSC2 ports as Codec with MCLK */
index 71a986d54f1834eeff06a4095c811e9a1bab5229..46443364d13be40b1a1412399a8a79234e084fbb 100644 (file)
@@ -1268,7 +1268,7 @@ int ddr3_set_dqs_centralization_results(MV_DRAM_INFO *dram_info, u32 cs,
 
        max_pup = (ecc + (1 - ecc) * dram_info->num_of_std_pups);
 
-       DEBUG_DQS_RESULTS_S("\n############ LOG LEVEL 2(Windows margins) ############\n");;
+       DEBUG_DQS_RESULTS_S("\n############ LOG LEVEL 2(Windows margins) ############\n");
 
        if (is_tx) {
                DEBUG_DQS_RESULTS_C("DDR3 - DQS TX - Set Dqs Centralization Results - CS: ",
index 3fb6ed6df7cdcc6e65f34105756c765828be98ea..2d2c318adfb3e3341307229c365fc94512c47c28 100644 (file)
@@ -49,7 +49,7 @@ int AT91F_DataflashInit (void)
                        dataflash_info[i].Desc.DataFlash_state = IDLE;
                        dataflash_info[i].logical_address = cs[i].addr;
                        dataflash_info[i].id = dfcode;
-                       found[i] += dfcode;;
+                       found[i] += dfcode;
                        break;
 
                case AT45DB081:
@@ -61,7 +61,7 @@ int AT91F_DataflashInit (void)
                        dataflash_info[i].Desc.DataFlash_state = IDLE;
                        dataflash_info[i].logical_address = cs[i].addr;
                        dataflash_info[i].id = dfcode;
-                       found[i] += dfcode;;
+                       found[i] += dfcode;
                        break;
 
                case AT45DB161:
@@ -73,7 +73,7 @@ int AT91F_DataflashInit (void)
                        dataflash_info[i].Desc.DataFlash_state = IDLE;
                        dataflash_info[i].logical_address = cs[i].addr;
                        dataflash_info[i].id = dfcode;
-                       found[i] += dfcode;;
+                       found[i] += dfcode;
                        break;
 
                case AT45DB321:
@@ -85,7 +85,7 @@ int AT91F_DataflashInit (void)
                        dataflash_info[i].Desc.DataFlash_state = IDLE;
                        dataflash_info[i].logical_address = cs[i].addr;
                        dataflash_info[i].id = dfcode;
-                       found[i] += dfcode;;
+                       found[i] += dfcode;
                        break;
 
                case AT45DB642:
@@ -97,7 +97,7 @@ int AT91F_DataflashInit (void)
                        dataflash_info[i].Desc.DataFlash_state = IDLE;
                        dataflash_info[i].logical_address = cs[i].addr;
                        dataflash_info[i].id = dfcode;
-                       found[i] += dfcode;;
+                       found[i] += dfcode;
                        break;
 
                case AT45DB128:
@@ -109,7 +109,7 @@ int AT91F_DataflashInit (void)
                        dataflash_info[i].Desc.DataFlash_state = IDLE;
                        dataflash_info[i].logical_address = cs[i].addr;
                        dataflash_info[i].id = dfcode;
-                       found[i] += dfcode;;
+                       found[i] += dfcode;
                        break;
 
                default:
index 15a3ce03ae3402f89335e0bc6aa422dae38afb08..628b420add8934bd96bde88036c9ee76d6aaabbd 100644 (file)
@@ -475,7 +475,7 @@ static void fec_halt(struct eth_device *dev)
 
        /* Disable DMA tasks */
        MCD_killDma(info->txTask);
-       MCD_killDma(info->rxTask);;
+       MCD_killDma(info->rxTask);
 
        /* Disable the Ethernet Controller */
        fecp->ecr &= ~FEC_ECR_ETHER_EN;
index b3746fbb9a95ecba0d8773e1b0c43f31a1417148..a18b959425620b5aa0da255c8e2ff191dc059a9a 100644 (file)
@@ -559,7 +559,7 @@ static int mpc512x_fec_recv (struct eth_device *dev)
                /* Graceful stop complete */
                if (in_be32(&fec->eth->x_cntrl) & 0x00000001) {
                        mpc512x_fec_halt (dev);
-                       clrbits_be32(&fec->eth->x_cntrl, 0x00000001);;
+                       clrbits_be32(&fec->eth->x_cntrl, 0x00000001);
                        mpc512x_fec_init (dev, NULL);
                }
        }
index 67bf140a37ada2daf2b067d86efa2560252292f5..377d87f04bb627f9cd5410c3acef96cb86b55e86 100644 (file)
@@ -495,7 +495,7 @@ dp83902a_recv(u8 *data, int len)
                                        printf(" %02x", tmp);
                                        if (0 == (++dx % 16)) printf("\n ");
 #endif
-                                       *data++ = tmp;;
+                                       *data++ = tmp;
                                        mlen--;
                                }
                        }
index 25aa6d15647f5fa579c23769d7b9bf6f4941ce38..f6630817d28a6d5f1bc16fb148dc0f3f6aeb0030 100644 (file)
@@ -320,7 +320,7 @@ void read_a_file(char *fn)
                i++;
                if (i > 32) {
                        printf("\n");
-                       i = 0;;
+                       i = 0;
                }
        }
        printf("\n");
index 03f9bef0dae8a2c44f91fbed9af7dba122a7628d..2336b56cf5c170ee75f7b9a7e1f5655adb3f3f03 100644 (file)
@@ -109,7 +109,7 @@ static inline void kmem_cache_destroy(struct kmem_cache *cachep)
 #define WARN_ON(condition) ({                                          \
        int __ret_warn_on = !!(condition);                              \
        if (unlikely(__ret_warn_on))                                    \
-               printf("WARNING in %s line %d\n", __FILE__, __LINE__);; \
+               printf("WARNING in %s line %d\n", __FILE__, __LINE__);  \
        unlikely(__ret_warn_on);                                        \
 })
 
index ec769640239856480b110b1003fcbd93e8663fa4..75efd76e0e3fe9758b83fc1946729fd2c122ab05 100644 (file)
@@ -112,7 +112,7 @@ static char* ExtractDecimal (uint32_t* value,  char* getPtr)
 
 static void ExtractNumber (uint32_t* value,  char* getPtr)
 {
-  bool  neg = false;;
+  bool  neg = false;
 
   while (*getPtr == ' ') getPtr++;
   if (*getPtr == '-') {