diff mbox series

[v4,06/15] net: wget: removed unused function wget_success()

Message ID b5f87a420883cf1b1557202e13a2f08c1734132a.1726048404.git.jerome.forissier@linaro.org
State Accepted
Commit 719f6f1d9bee5dd6846c345fd9c2620d01dc5d09
Headers show
Series Miscellaneous fixes | expand

Commit Message

Jérôme Forissier Sept. 11, 2024, 9:58 a.m. UTC
wget_success() is used nowhere so remove it.

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
---
 net/wget.c | 7 -------
 1 file changed, 7 deletions(-)
diff mbox series

Patch

diff --git a/net/wget.c b/net/wget.c
index 4a168641c65..6ebf9bca0d8 100644
--- a/net/wget.c
+++ b/net/wget.c
@@ -196,13 +196,6 @@  void wget_fail(char *error_message, unsigned int tcp_seq_num,
 	wget_send(action, tcp_seq_num, tcp_ack_num, 0);
 }
 
-void wget_success(u8 action, unsigned int tcp_seq_num,
-		  unsigned int tcp_ack_num, int len, int packets)
-{
-	printf("Packets received %d, Transfer Successful\n", packets);
-	wget_send(action, tcp_seq_num, tcp_ack_num, len);
-}
-
 /*
  * Interfaces of U-BOOT
  */