Minor Coding Style cleanup
Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
parent
895f3e0542
commit
3fe63839f3
|
@ -209,4 +209,3 @@ Place uImage, p1010rdb.dtb and rootfs files in the TFTP disk area.
|
||||||
|
|
||||||
Please contact your local field applications engineer or sales representative
|
Please contact your local field applications engineer or sales representative
|
||||||
to obtain related documents, such as P1010-RDB User Guide for details.
|
to obtain related documents, such as P1010-RDB User Guide for details.
|
||||||
|
|
||||||
|
|
|
@ -253,4 +253,3 @@ int toggle_eeprom_spi_bus(void)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,6 @@
|
||||||
|
|
||||||
#define MAX_TFTP_PATH_LEN 127
|
#define MAX_TFTP_PATH_LEN 127
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Like getenv, but prints an error if envvar isn't defined in the
|
* Like getenv, but prints an error if envvar isn't defined in the
|
||||||
* environment. It always returns what getenv does, so it can be used in
|
* environment. It always returns what getenv does, so it can be used in
|
||||||
|
@ -175,8 +174,6 @@ static int do_get_fat(char *file_path, char *file_addr)
|
||||||
return -ENOENT;
|
return -ENOENT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* As in pxelinux, paths to files referenced from files we retrieve are
|
* As in pxelinux, paths to files referenced from files we retrieve are
|
||||||
* relative to the location of bootfile. get_relfile takes such a path and
|
* relative to the location of bootfile. get_relfile takes such a path and
|
||||||
|
@ -365,7 +362,6 @@ do_pxe_get(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
||||||
if (argc != 1)
|
if (argc != 1)
|
||||||
return CMD_RET_USAGE;
|
return CMD_RET_USAGE;
|
||||||
|
|
||||||
|
|
||||||
pxefile_addr_str = from_env("pxefile_addr_r");
|
pxefile_addr_str = from_env("pxefile_addr_r");
|
||||||
|
|
||||||
if (!pxefile_addr_str)
|
if (!pxefile_addr_str)
|
||||||
|
|
|
@ -73,4 +73,3 @@ If both fail or are disabled, static settings are used.
|
||||||
"setenv netmask $snetmask; " \
|
"setenv netmask $snetmask; " \
|
||||||
"setenv gatewayip $sgatewayip; " \
|
"setenv gatewayip $sgatewayip; " \
|
||||||
"fi;\0" \
|
"fi;\0" \
|
||||||
|
|
||||||
|
|
|
@ -229,8 +229,9 @@ void link_local_receive_arp(struct arp_hdr *arp, int len)
|
||||||
* XXX Don't bother with ethernet link just yet
|
* XXX Don't bother with ethernet link just yet
|
||||||
if ((fds[0].revents & POLLIN) == 0) {
|
if ((fds[0].revents & POLLIN) == 0) {
|
||||||
if (fds[0].revents & POLLERR) {
|
if (fds[0].revents & POLLERR) {
|
||||||
// FIXME: links routinely go down;
|
/*
|
||||||
// this shouldn't necessarily exit.
|
* FIXME: links routinely go down;
|
||||||
|
*/
|
||||||
bb_error_msg("iface %s is down", eth_get_name());
|
bb_error_msg("iface %s is down", eth_get_name());
|
||||||
if (ready) {
|
if (ready) {
|
||||||
run(argv, "deconfig", &ip);
|
run(argv, "deconfig", &ip);
|
||||||
|
|
Loading…
Reference in New Issue