mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00: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:
parent
85d25e0e76
commit
7044c6bb69
3 changed files with 69 additions and 72 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue