summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerome Forissier <[email protected]>2024-09-11 11:58:19 +0200
committerTom Rini <[email protected]>2024-09-24 13:41:21 -0600
commit719f6f1d9bee5dd6846c345fd9c2620d01dc5d09 (patch)
treef555d50fd3c3d236802fc7b36401b0bcffef444c
parentfd23e80165aafed2cf8c43dc8802c5a465f85a18 (diff)
net: wget: removed unused function wget_success()
wget_success() is used nowhere so remove it. Signed-off-by: Jerome Forissier <[email protected]> Reviewed-by: Ilias Apalodimas <[email protected]> Reviewed-by: Peter Robinson <[email protected]>
-rw-r--r--net/wget.c7
1 files changed, 0 insertions, 7 deletions
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
*/