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
|
@ -224,14 +224,14 @@ static void cdp_timeout_handler(void)
|
|||
cdp_seq++;
|
||||
|
||||
if (cdp_seq < 3) {
|
||||
NetSetTimeout(CDP_TIMEOUT, cdp_timeout_handler);
|
||||
net_set_timeout_handler(CDP_TIMEOUT, cdp_timeout_handler);
|
||||
cdp_send_trigger();
|
||||
return;
|
||||
}
|
||||
|
||||
/* if not OK try again */
|
||||
if (!cdp_ok)
|
||||
NetStartAgain();
|
||||
net_start_again();
|
||||
else
|
||||
net_set_state(NETLOOP_SUCCESS);
|
||||
}
|
||||
|
@ -357,7 +357,7 @@ void cdp_start(void)
|
|||
cdp_native_vlan = htons(-1);
|
||||
cdp_appliance_vlan = htons(-1);
|
||||
|
||||
NetSetTimeout(CDP_TIMEOUT, cdp_timeout_handler);
|
||||
net_set_timeout_handler(CDP_TIMEOUT, cdp_timeout_handler);
|
||||
|
||||
cdp_send_trigger();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue