git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46fc565
)
lwip: sntp: remove redundant sys_check_timeouts()
author
Jerome Forissier
<jerome.forissier@linaro.org>
Fri, 1 Aug 2025 08:12:20 +0000
(10:12 +0200)
committer
Jerome Forissier
<jerome.forissier@linaro.org>
Mon, 18 Aug 2025 13:47:58 +0000
(15:47 +0200)
Now that sys_check_timeouts() is called in net_lwip_rx(), there is no
need to call it from the SNTP receive loop. Remove the redundant call.
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
cmd/lwip/sntp.c
patch
|
blob
|
history
diff --git
a/cmd/lwip/sntp.c
b/cmd/lwip/sntp.c
index
ae02bb1
..
608345c
100644
(file)
--- a/
cmd/lwip/sntp.c
+++ b/
cmd/lwip/sntp.c
@@
-79,7
+79,6
@@
static int sntp_loop(struct udevice *udev, ip_addr_t *srvip)
sys_timeout(SNTP_TIMEOUT, no_response, NULL);
while (sntp_state == NOT_DONE) {
net_lwip_rx(udev, netif);
- sys_check_timeouts();
if (ctrlc()) {
printf("\nAbort\n");
sntp_state = ABORTED;