From: Jerome Forissier Date: Wed, 11 Sep 2024 09:58:19 +0000 (+0200) Subject: net: wget: removed unused function wget_success() X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=719f6f1d9bee5dd6846c345fd9c2620d01dc5d09;p=u-boot.git net: wget: removed unused function wget_success() wget_success() is used nowhere so remove it. Signed-off-by: Jerome Forissier Reviewed-by: Ilias Apalodimas Reviewed-by: Peter Robinson --- diff --git a/net/wget.c b/net/wget.c index 4a168641c6..6ebf9bca0d 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 */