cmd: Remove duplicate newlines

Drop all duplicate newlines. No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
This commit is contained in:
Marek Vasut 2024-07-13 15:19:16 +02:00 committed by Tom Rini
parent 789934f1bb
commit e569c73a8e
23 changed files with 0 additions and 44 deletions

View 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);

View 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 */
/*******************************************************************/

View 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"

View 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",

View file

@ -47,7 +47,6 @@ static int do_coninfo(struct cmd_tbl *cmd, int flag, int argc,
return 0;
}
/***************************************************/
U_BOOT_CMD(

View 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

View 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[])
{

View file

@ -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",

View 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"

View 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,

View file

@ -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)",

View file

@ -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);

View 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.

View file

@ -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[])
{

View file

@ -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

View file

@ -66,7 +66,6 @@ int do_terminal(struct cmd_tbl *cmd, int flag, int argc, char *const argv[])
return 0;
}
/***************************************************/
U_BOOT_CMD(

View 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];

View file

@ -4,7 +4,6 @@
* Stefan Roese, DENX Software Engineering, sr@denx.de.
*/
/*
* UBIFS command support
*/

View 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",

View file

@ -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,

View file

@ -7,7 +7,6 @@
* Kai-Uwe Bloem, Auerswald GmbH & Co KG, <linux-development@auerswald.de>
*/
/*
* Multi Image extract
*/

View file

@ -13,7 +13,6 @@
* ...
*/
#include <config.h>
#include <command.h>

View file

@ -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"