]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
net: wget: removed unused function wget_success()
authorJerome Forissier <jerome.forissier@linaro.org>
Wed, 11 Sep 2024 09:58:19 +0000 (11:58 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 24 Sep 2024 19:41:21 +0000 (13:41 -0600)
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

index 4a168641c653b4436374d52f8cd45b474c77c426..6ebf9bca0d89b40365494b593d5b1a104f18d0ab 100644 (file)
@@ -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
  */