diff options
author | Tom Rini <trini@konsulko.com> | 2022-02-25 11:19:51 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-03-03 16:51:20 -0500 |
commit | f0171e7ea79b73689a2a82f5c2826e22b2fda2af (patch) | |
tree | 7bb1cc86b1da30081ffdc6d5a6db1622f507b354 /net | |
parent | a542e4307db9dcdfdc0c1cd961b896c261c7f3da (diff) | |
download | u-boot-f0171e7ea79b73689a2a82f5c2826e22b2fda2af.zip u-boot-f0171e7ea79b73689a2a82f5c2826e22b2fda2af.tar.gz u-boot-f0171e7ea79b73689a2a82f5c2826e22b2fda2af.tar.bz2 |
net: Remove CONFIG_BOOTP_DHCP_REQUEST_DELAY
This option is not in use anywhere and the documentation implies it's
for some very old and unlikely to be seen currently issues. Rather than
update the code so the CONFIG symbol could be easily in Kconfig, remove
the code.
Cc: Ramon Fried <rfried.dev@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Acked-by: Ramon Fried <rfried.dev@gmail.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/bootp.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/bootp.c b/net/bootp.c index d83e4eb..a896e1e 100644 --- a/net/bootp.c +++ b/net/bootp.c @@ -1038,9 +1038,6 @@ static void dhcp_send_request_packet(struct bootp_hdr *bp_offer) bcast_ip.s_addr = 0xFFFFFFFFL; net_set_udp_header(iphdr, bcast_ip, PORT_BOOTPS, PORT_BOOTPC, iplen); -#ifdef CONFIG_BOOTP_DHCP_REQUEST_DELAY - udelay(CONFIG_BOOTP_DHCP_REQUEST_DELAY); -#endif /* CONFIG_BOOTP_DHCP_REQUEST_DELAY */ debug("Transmitting DHCPREQUEST packet: len = %d\n", pktlen); net_send_packet(net_tx_packet, pktlen); } |