diff mbox series

[v8,02/23] net: wget: removed unused function wget_success()

Message ID 23a2099efe241dd512a615e51e85e1941fc20a0b.1723050310.git.jerome.forissier@linaro.org
State Superseded
Headers show
Series Introduce the lwIP network stack | expand

Commit Message

Jerome Forissier Aug. 7, 2024, 5:11 p.m. UTC
wget_success() is used nowhere so remove it.

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
---
 net/wget.c | 7 -------
 1 file changed, 7 deletions(-)

Comments

Ilias Apalodimas Aug. 9, 2024, 10:50 a.m. UTC | #1
On Wed, 7 Aug 2024 at 20:12, Jerome Forissier
<jerome.forissier@linaro.org> wrote:
>
> wget_success() is used nowhere so remove it.
>
> Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
> ---
>  net/wget.c | 7 -------
>  1 file changed, 7 deletions(-)
>
> diff --git a/net/wget.c b/net/wget.c
> index f1dd7abeff6..0e4dc5159d0 100644
> --- a/net/wget.c
> +++ b/net/wget.c
> @@ -199,13 +199,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
>   */
> --
> 2.40.1
>

Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
diff mbox series

Patch

diff --git a/net/wget.c b/net/wget.c
index f1dd7abeff6..0e4dc5159d0 100644
--- a/net/wget.c
+++ b/net/wget.c
@@ -199,13 +199,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
  */