summaryrefslogtreecommitdiff
path: root/net/bootp.c
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2022-02-25 11:19:51 -0500
committerTom Rini <[email protected]>2022-03-03 16:51:20 -0500
commitf0171e7ea79b73689a2a82f5c2826e22b2fda2af (patch)
tree7bb1cc86b1da30081ffdc6d5a6db1622f507b354 /net/bootp.c
parenta542e4307db9dcdfdc0c1cd961b896c261c7f3da (diff)
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 <[email protected]> Signed-off-by: Tom Rini <[email protected]> Acked-by: Ramon Fried <[email protected]>
Diffstat (limited to 'net/bootp.c')
-rw-r--r--net/bootp.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/bootp.c b/net/bootp.c
index d83e4eb0ba9..a896e1e5b54 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);
}