cmd: Remove duplicate newlines
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sat, 13 Jul 2024 13:19:16 +0000 (15:19 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 15 Jul 2024 18:12:17 +0000 (12:12 -0600)
Drop all duplicate newlines. No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
23 files changed:
cmd/ab_select.c
cmd/bootm.c
cmd/bootstage.c
cmd/cache.c
cmd/console.c
cmd/cramfs.c
cmd/extension_board.c
cmd/fat.c
cmd/font.c
cmd/load.c
cmd/mem.c
cmd/mp.c
cmd/mtdparts.c
cmd/net.c
cmd/spl.c
cmd/terminal.c
cmd/tpm_test.c
cmd/ubifs.c
cmd/universe.c
cmd/usb.c
cmd/ximg.c
cmd/yaffs2.c
cmd/zfs.c

index faeb838..7c178c7 100644 (file)
@@ -35,7 +35,6 @@ static int do_ab_select(struct cmd_tbl *cmdtp, int flag, int argc,
                return CMD_RET_FAILURE;
        }
 
-
        ret = ab_select_slot(dev_desc, &part_info, dec_tries);
        if (ret < 0) {
                printf("Android boot failed, error %d.\n", ret);
index 545b0c3..bee683d 100644 (file)
@@ -256,7 +256,6 @@ U_BOOT_CMD(
 
 #endif
 
-
 /*******************************************************************/
 /* iminfo - print header info for a requested image */
 /*******************************************************************/
@@ -361,7 +360,6 @@ U_BOOT_CMD(
 );
 #endif
 
-
 /*******************************************************************/
 /* imls - list all images found in flash */
 /*******************************************************************/
index 5246924..c47679d 100644 (file)
@@ -86,7 +86,6 @@ static int do_boostage(struct cmd_tbl *cmdtp, int flag, int argc,
                return CMD_RET_USAGE;
 }
 
-
 U_BOOT_CMD(bootstage, 4, 1, do_boostage,
        "Boot stage command",
        " - check boot progress and timing\n"
index 7a20682..3049f5c 100644 (file)
@@ -86,7 +86,6 @@ static int parse_argv(const char *s)
        return -1;
 }
 
-
 U_BOOT_CMD(
        icache,   2,   1,     do_icache,
        "enable or disable instruction cache",
index 12fc920..a8133ee 100644 (file)
@@ -47,7 +47,6 @@ static int do_coninfo(struct cmd_tbl *cmd, int flag, int argc,
        return 0;
 }
 
-
 /***************************************************/
 
 U_BOOT_CMD(
index b57e281..baff50d 100644 (file)
@@ -6,7 +6,6 @@
  *     Add support for a CRAMFS located in RAM
  */
 
-
 /*
  * CRAMFS support
  */
@@ -32,7 +31,6 @@
 # define DEBUGF(fmt, args...)
 #endif
 
-
 #ifndef CONFIG_MTD_NOR_FLASH
 # define OFFSET_ADJUSTMENT     0
 #else
index f43bf68..6c14d0d 100644 (file)
@@ -98,7 +98,6 @@ static int extension_scan(bool show)
        return extension_num;
 }
 
-
 static int do_extension_scan(struct cmd_tbl *cmdtp, int flag,
                             int argc, char *const argv[])
 {
index ad0e5ed..1655e80 100644 (file)
--- a/cmd/fat.c
+++ b/cmd/fat.c
@@ -32,7 +32,6 @@ int do_fat_fsload(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
        return do_load(cmdtp, flag, argc, argv, FS_TYPE_FAT);
 }
 
-
 U_BOOT_CMD(
        fatload,        7,      0,      do_fat_fsload,
        "load binary file from a dos filesystem",
index ebde094..eb13fb1 100644 (file)
@@ -77,7 +77,6 @@ static int do_font_size(struct cmd_tbl *cmdtp, int flag, int argc,
        return 0;
 }
 
-
 U_BOOT_LONGHELP(font,
        "list       - list available fonts\n"
        "font select <name> [<size>] - select font to use\n"
index ace1c52..d773a25 100644 (file)
@@ -417,7 +417,6 @@ static int write_record(char *buf)
 
 #endif
 
-
 #if defined(CONFIG_CMD_LOADB)
 /*
  * loadb command (load binary) included
@@ -441,7 +440,6 @@ static void set_kerm_bin_mode(unsigned long *);
 static int k_recv(void);
 static ulong load_serial_bin(ulong offset);
 
-
 static char his_eol;        /* character he needs at end of packet */
 static int  his_pad_count;  /* number of pad chars he needs */
 static char his_pad_char;   /* pad chars he needs */
@@ -557,7 +555,6 @@ static int do_load_serial_bin(struct cmd_tbl *cmdtp, int flag, int argc,
        return rcode;
 }
 
-
 static ulong load_serial_bin(ulong offset)
 {
        int size, i;
@@ -652,7 +649,6 @@ static void send_nack(int n)
        s1_sendpacket(a_b);
 }
 
-
 static void (*os_data_init)(void);
 static void (*os_data_char)(char new_char);
 static int os_data_state, os_data_state_saved;
@@ -693,7 +689,6 @@ static void set_kerm_bin_mode(unsigned long *addr)
        os_data_char = bin_data_char;
 }
 
-
 /* k_data_* simply handles the kermit escape translations */
 static int k_data_escape, k_data_escape_saved;
 static void k_data_init(void)
@@ -1066,7 +1061,6 @@ static ulong load_serial_ymodem(ulong offset, int mode)
        xyzModem_stream_terminate(false, &getcxmodem);
        xyzModem_stream_close(&err);
 
-
        flush_cache(offset, ALIGN(size, ARCH_DMA_MINALIGN));
 
        printf("## Total Size      = 0x%08x = %d Bytes\n", size, size);
@@ -1141,7 +1135,6 @@ U_BOOT_CMD(
  * SAVES always requires LOADS support, but not vice versa
  */
 
-
 #if defined(CONFIG_CMD_SAVES)
 #ifdef CONFIG_SYS_LOADS_BAUD_CHANGE
 U_BOOT_CMD(
@@ -1162,7 +1155,6 @@ U_BOOT_CMD(
 #endif /* CONFIG_CMD_SAVES */
 #endif /* CONFIG_CMD_LOADS */
 
-
 #if defined(CONFIG_CMD_LOADB)
 U_BOOT_CMD(
        loadb, 3, 0,    do_load_serial_bin,
index 4989d27..2743480 100644 (file)
--- a/cmd/mem.c
+++ b/cmd/mem.c
@@ -1316,14 +1316,12 @@ U_BOOT_CMD(
        "[.b, .w, .l" HELP_Q "] address [# of objects]"
 );
 
-
 U_BOOT_CMD(
        mm,     2,      1,      do_mem_mm,
        "memory modify (auto-incrementing address)",
        "[.b, .w, .l" HELP_Q "] address"
 );
 
-
 U_BOOT_CMD(
        nm,     2,      1,      do_mem_nm,
        "memory modify (constant address)",
index b9b5e01..261bb8a 100644 (file)
--- a/cmd/mp.c
+++ b/cmd/mp.c
@@ -42,7 +42,6 @@ cpu_cmd(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
                return 1;
        }
 
-
        if (argc == 3) {
                if (strncmp(argv[2], "reset", 5) == 0)
                        cpu_reset(cpuid);
index f57d84d..a021b2d 100644 (file)
@@ -291,7 +291,6 @@ static void current_save(void)
        index_partitions();
 }
 
-
 /**
  * Produce a mtd_info given a type and num.
  *
@@ -401,7 +400,6 @@ static int part_validate_eraseblock(struct mtdids *id, struct part_info *part)
        return 0;
 }
 
-
 /**
  * Performs sanity check for supplied partition. Offset and size are
  * verified to be within valid range. Partition type is checked and
@@ -1128,7 +1126,6 @@ static int generate_mtdparts(char *buf, u32 buflen)
                        p += len;
                        maxlen -= len;
 
-
                        /* add offset only when there is a gap between
                         * partitions */
                        if ((!prev_part && (offset != 0)) ||
@@ -1709,7 +1706,6 @@ static int parse_mtdids(const char *const ids)
        return 0;
 }
 
-
 /**
  * Parse and initialize global mtdids mapping and create global
  * device/partition list.
index b206ff5..53ce2bc 100644 (file)
--- a/cmd/net.c
+++ b/cmd/net.c
@@ -97,7 +97,6 @@ U_BOOT_CMD(
 );
 #endif
 
-
 #ifdef CONFIG_CMD_RARP
 int do_rarpb(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
 {
index d1f47c7..76fe337 100644 (file)
--- a/cmd/spl.c
+++ b/cmd/spl.c
@@ -66,7 +66,6 @@ static int call_bootm(int argc, char *const argv[], const char *subcommand[])
                bootm_argv[2] = argv[0]; /* kernel addr */
        }
 
-
        /*
         * - do the work -
         * exec subcommands of do_bootm to init the images
index 369a755..d803bc6 100644 (file)
@@ -66,7 +66,6 @@ int do_terminal(struct cmd_tbl *cmd, int flag, int argc, char *const argv[])
        return 0;
 }
 
-
 /***************************************************/
 
 U_BOOT_CMD(
index 9c8b1c7..af83d78 100644 (file)
@@ -424,7 +424,6 @@ static int test_startup(struct udevice *dev)
        } \
 } while (0)
 
-
 static int test_timing(struct udevice *dev)
 {
        uint8_t in[20], out[20];
index 8fd3903..22e95db 100644 (file)
@@ -4,7 +4,6 @@
  * Stefan Roese, DENX Software Engineering, sr@denx.de.
  */
 
-
 /*
  * UBIFS command support
  */
index d1a7128..1445d53 100644 (file)
@@ -14,7 +14,6 @@
 #define PCI_VENDOR PCI_VENDOR_ID_TUNDRA
 #define PCI_DEVICE PCI_DEVICE_ID_TUNDRA_CA91C042
 
-
 typedef struct _UNI_DEV UNI_DEV;
 
 struct _UNI_DEV {
@@ -26,7 +25,6 @@ struct _UNI_DEV {
 
 static UNI_DEV   *dev;
 
-
 int universe_init(void)
 {
        int j, result;
@@ -112,7 +110,6 @@ int universe_init(void)
        return result;
 }
 
-
 /*
  * Create pci slave window (access: pci -> vme)
  */
@@ -209,7 +206,6 @@ int universe_pci_slave_window(unsigned int pciAddr, unsigned int vmeAddr, int si
        return -result;
 }
 
-
 /*
  * Create vme slave window (access: vme -> pci)
  */
@@ -294,7 +290,6 @@ int universe_vme_slave_window(unsigned int vmeAddr, unsigned int pciAddr, int si
        return -result;
 }
 
-
 /*
  * Tundra Universe configuration
  */
@@ -342,7 +337,6 @@ int do_universe(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
        return 0;
 }
 
-
 U_BOOT_CMD(
        universe,       8,      1,      do_universe,
        "initialize and configure Turndra Universe",
index 225d929..16c081b 100644 (file)
--- a/cmd/usb.c
+++ b/cmd/usb.c
@@ -549,7 +549,6 @@ static int usb_test(struct usb_device *dev, int port, char* arg)
        }
 }
 
-
 /******************************************************************************
  * usb boot command intepreter. Derived from diskboot
  */
@@ -737,7 +736,6 @@ U_BOOT_CMD(
 #endif /* CONFIG_USB_STORAGE */
 );
 
-
 #ifdef CONFIG_USB_STORAGE
 U_BOOT_CMD(
        usbboot,        3,      1,      do_usbboot,
index c79e8a0..1c96f5a 100644 (file)
@@ -7,7 +7,6 @@
  * Kai-Uwe Bloem, Auerswald GmbH & Co KG, <linux-development@auerswald.de>
  */
 
-
 /*
  * Multi Image extract
  */
index d0724d9..daa44ab 100644 (file)
@@ -13,7 +13,6 @@
  *  ...
  */
 
-
 #include <config.h>
 #include <command.h>
 
index 2f83153..471c63f 100644 (file)
--- a/cmd/zfs.c
+++ b/cmd/zfs.c
@@ -119,7 +119,6 @@ static int do_zfs_load(struct cmd_tbl *cmdtp, int flag, int argc,
        return 0;
 }
 
-
 int zfs_print(const char *entry, const struct zfs_dirhook_info *data)
 {
        printf("%s %s\n",
@@ -128,7 +127,6 @@ int zfs_print(const char *entry, const struct zfs_dirhook_info *data)
        return 0; /* 0 continue, 1 stop */
 }
 
-
 static int do_zfs_ls(struct cmd_tbl *cmdtp, int flag, int argc,
                     char *const argv[])
 {
@@ -157,7 +155,6 @@ static int do_zfs_ls(struct cmd_tbl *cmdtp, int flag, int argc,
        return 0;
 }
 
-
 U_BOOT_CMD(zfsls, 4, 1, do_zfs_ls,
                   "list files in a directory (default /)",
                   "<interface> <dev[:part]> [directory]\n"