mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
net: cosmetic: Clean up DHCP variables and functions
Make a thorough pass through all variables and function names contained within bootp.c and remove CamelCase and improve naming. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
committed by
Simon Glass
parent
85d25e0e76
commit
7044c6bb69
@@ -381,16 +381,16 @@ restart:
|
||||
#endif
|
||||
#if defined(CONFIG_CMD_DHCP)
|
||||
case DHCP:
|
||||
BootpReset();
|
||||
bootp_reset();
|
||||
net_ip.s_addr = 0;
|
||||
DhcpRequest(); /* Basically same as BOOTP */
|
||||
dhcp_request(); /* Basically same as BOOTP */
|
||||
break;
|
||||
#endif
|
||||
|
||||
case BOOTP:
|
||||
BootpReset();
|
||||
bootp_reset();
|
||||
net_ip.s_addr = 0;
|
||||
BootpRequest();
|
||||
bootp_request();
|
||||
break;
|
||||
|
||||
#if defined(CONFIG_CMD_RARP)
|
||||
|
Reference in New Issue
Block a user