From patchwork Tue Sep 3 08:38:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Forissier X-Patchwork-Id: 824882 Delivered-To: patch@linaro.org Received: by 2002:a5d:48c1:0:b0:367:895a:4699 with SMTP id p1csp2298014wrs; Tue, 3 Sep 2024 01:40:09 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUmCgdVeREtROtoxeFAYgI+OV9x+CsLmiCzKcwEQyt+di7xK7Y/bt+BOI0Iomu3tMSDhOBdGg==@linaro.org X-Google-Smtp-Source: AGHT+IFeDQtM1fXwM1JB6z6emhZo6z8vUfEELxn4mxypR6uZvQsXKk+rLfvhXQSrb2ppm68FQPp6 X-Received: by 2002:a17:906:dc95:b0:a7a:bece:6223 with SMTP id a640c23a62f3a-a89a3503807mr846550866b.6.1725352809041; Tue, 03 Sep 2024 01:40:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1725352809; cv=none; d=google.com; s=arc-20240605; b=hdBzXyNS8m48ofm7VLYk/C8Lj9LzY8HJkO8k7dNGW9+1bLQB1fExaIzPckMz7hf5ll l04kbUzmMmDsHn5Wh6c0W/z0kyWZkXFEOEkbbMX+U3ubSf82T/p4gv1cGN+FZVst4Nq/ WnAZKxXricxirhXZpuheIXaa337fk2aKeTvwhitfzn2Atbk5OWlL3SQDxLj7xEZTU9DC eIClvSLyfDfCE3SnLeGD9/saI87pLZ8piAjp1ZaiF0y18zEcTnR8196zyIaTLU51uN4v 57mJzXWn5CLZEMH8yDj+Nt4FNcoWJJ28y5P8fqwM7LzUj4kfF/uaHtKvqx1FbSZE8Cly XD8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=HQRratDTux43Q2ePlyrz4FZtTR8e+cQ86jEMfNCxWhs=; fh=+JYMqiJxo5d/c9+inGUQ11Ab2OxQtZbRGs0mg5+KzD0=; b=fTAWcOvAL31qJ5PWpnCJNFw6zxEdIM2d4KEFgVm/TCRL95BjuYks6oDE7KoF6AXQF9 TaXhAuNARewuk739x+Sn9/iNggz6afEg8houzfaEs2srnJBiFliLVKlA/h9I1Oq6aycr bkoMisEiFyK2/h83t00Rl+MJCPL3xgQUGo3wgRN8qboOyK8kK0dLxt48RLA0czZ/MRe0 yykKRpLRrPmRlNVWFcSC8zznfB0SLRY1aJ1E5KxaxyaaNdv7aWzLc9PNhbiorM8KVnnf 5ARhCVELebYCDqZEX1Jo2ovnghplGp3tGOOH9S91+dRumsp0/YZ9dNb0KyAApIkx7QJq 5Klg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ylRWDEDU; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id a640c23a62f3a-a89891307d5si850785366b.432.2024.09.03.01.40.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Sep 2024 01:40:09 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ylRWDEDU; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8718088CFB; Tue, 3 Sep 2024 10:39:00 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="ylRWDEDU"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9EDD888C30; Tue, 3 Sep 2024 10:38:58 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 71FB988CF3 for ; Tue, 3 Sep 2024 10:38:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jerome.forissier@linaro.org Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-42c2e50ec13so25658025e9.0 for ; Tue, 03 Sep 2024 01:38:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1725352735; x=1725957535; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=HQRratDTux43Q2ePlyrz4FZtTR8e+cQ86jEMfNCxWhs=; b=ylRWDEDU/D5tMcUHyyXuyncyJ7Z2ZSBmyo2EduQyBGuaZOweKTj3pTtPuHQ4I40WPk 56wnJzL9sdfIann44Aa41Om60+Ld+Df552vzZ6DALQCZhplsUXZoBDxfJAw2oDmR9Dda 3mGd2rZc0J6DqjGckKKZDxXwxaYaXG0W61jhbbtNXwxnWldPBN2tIgujVP2J3yIL7p0A ajRdwaBiMEKXzPJKeyYGz7sZUPoWKa0FvurUgdND2psKP+lZTAIYlDAYIhlKXQMUUV4k zuELaxZ3jCYC8Io4vbrFd8voJreC5QmYIoFYmCOeGvGeBOFnrwe7E9ukcV855kcidtHs zBdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725352735; x=1725957535; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HQRratDTux43Q2ePlyrz4FZtTR8e+cQ86jEMfNCxWhs=; b=HI1e22Ktk1ricMAdDPLcyfzVR28ooXdXHBkGyXHycNpSqNQgCiPw5awnCeCm9eB8Rw AvgYny5et0NC/3k/JWWOdCfAY+8S9LhzS34msr2i4v47m+aPKprh4cJMAVhewzaOo2/4 r1J1RZvaN3sAznzbTGT2jlmTvgHqIxokT2akAFYpsoeRGIhlg8NQYbzc6JIEhXJmhlff xIPNaByKeZGLYQvVogWwr5pLWzk0r1ggQNxjMWjUSDMLcSuV4/acmX71FXTOdiWo/u4R 587kMV5FHYGLY/YAUa4jQwCr1iDJPplLA4cJn/uOhcIqo0o7GwNR8CJEAz6d4ikIBJtG 695Q== X-Gm-Message-State: AOJu0YxX+fPOiaaX7I66r6BzQNkqM60aAUqvTYVP2D8AyEFs3kfvKEq3 KlRMP/TznQQKO9KnLq7fp53UxPK6y2vM3keOLSBtZh+aNaAfbXiMJRWjqDHNQq+rlLdta9ec/3k aE3oEbA== X-Received: by 2002:a05:600c:511c:b0:426:5b29:b5c8 with SMTP id 5b1f17b1804b1-42bbb436e23mr93243215e9.28.1725352735307; Tue, 03 Sep 2024 01:38:55 -0700 (PDT) Received: from builder.. ([2a01:e0a:3cb:7bb0:6417:8cf6:a7f7:ee38]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42bb6df795asm163103325e9.21.2024.09.03.01.38.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Sep 2024 01:38:54 -0700 (PDT) From: Jerome Forissier To: u-boot@lists.denx.de Cc: Ilias Apalodimas , Peter Robinson , Jerome Forissier , Joe Hershberger , Ramon Fried , Tom Rini , Simon Glass , Masahisa Kojima , Yasuharu Shibata , Marek Vasut Subject: [PATCH v3 07/16] net: wget: removed unused function wget_success() Date: Tue, 3 Sep 2024 10:38:04 +0200 Message-Id: <11aad5fc807a2b544fe364e233c9a0613d18974f.1725351676.git.jerome.forissier@linaro.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean wget_success() is used nowhere so remove it. Signed-off-by: Jerome Forissier Reviewed-by: Ilias Apalodimas Reviewed-by: Peter Robinson --- 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 */