mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
net: cosmetic: Fix checkpatch.pl failures in net.c
Finish eliminating CamelCase from net.c and other failures Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
a34f207563
commit
bc0571fc10
21 changed files with 182 additions and 185 deletions
|
@ -59,9 +59,9 @@ static void rarp_timeout_handler(void)
|
|||
{
|
||||
if (rarp_try >= TIMEOUT_COUNT) {
|
||||
puts("\nRetry count exceeded; starting again\n");
|
||||
NetStartAgain();
|
||||
net_start_again();
|
||||
} else {
|
||||
NetSetTimeout(TIMEOUT, rarp_timeout_handler);
|
||||
net_set_timeout_handler(TIMEOUT, rarp_timeout_handler);
|
||||
rarp_request();
|
||||
}
|
||||
}
|
||||
|
@ -95,5 +95,5 @@ void rarp_request(void)
|
|||
|
||||
net_send_packet(net_tx_packet, eth_hdr_size + ARP_HDR_SIZE);
|
||||
|
||||
NetSetTimeout(TIMEOUT, rarp_timeout_handler);
|
||||
net_set_timeout_handler(TIMEOUT, rarp_timeout_handler);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue