From patchwork Wed Aug 7 17:11:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?SsOpcsO0bWUgRm9yaXNzaWVy?= X-Patchwork-Id: 817409 Delivered-To: patch@linaro.org Received: by 2002:a5d:4e11:0:b0:367:895a:4699 with SMTP id p17csp492463wrt; Wed, 7 Aug 2024 10:12:54 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUYLUbMaGt5WhjL/gGeG+PqUM8ey+JRPEA9fwaNnpOPK1WkLOQx/DdrWeSyCEIzl+B5dGlYxQ6bzOHquDwi7TGF X-Google-Smtp-Source: AGHT+IGxSOOx+nKfVU/mvTakEVlxPBgP0gDug6ytzEBfKeStj7OJ2+M/g5LVWk3UredrRnxdti43 X-Received: by 2002:a17:906:ee85:b0:a7d:2f42:db54 with SMTP id a640c23a62f3a-a7dc50ff238mr1380354166b.65.1723050774402; Wed, 07 Aug 2024 10:12:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1723050774; cv=none; d=google.com; s=arc-20160816; b=srkvu6+gdSVcks6hr1jzI5w35FNXn820w6K6+kWsFomhjUFPJ1CpYZs3IHDC7zexfc p5XVQm/RNrMKFeJxUnysUPnmvLH7sZc0/q1DiweWHbZnEROViatEQPiswMhK7qtogdmu N3wNOmV89sDrmISV4nzQS+3e33gC42QA9cn9+uZW4/8g4vZnfocZMj935/z9KXw32QcH Prq2AgFVWySnIXtEmGDYvcihsqAJBp/98RvAtnyCzV/9bwUUaM9n4vn8DShQORP9CxRA 9HlBPp7yYzLJfwyBb+QUe//n8HpbFxq5/JEgA/VQtk51L5u8Y6aI1i9uhmbkSsOT8KIi RROA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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=n3p4Z/bdjZuV6/Hz4Fj/7FWj/5Hu0091smaG+T0hGbo=; fh=5Fdzae20gi4ZVX2++pSsMcX5CcWBHPAXFw4P1DhOa3E=; b=rx5PGhSneT8SPSSuDOx3M80zufV5jFRzbvli6B97shzZ1l23RLIBFCpoql13weeZsB hNNwUEiK6tzUWpsn94j3cR6yqeSBc+eHCDOz7Jl/aAvp0MGAUvxw8yvxrK3xg4pMhqnn GoBEUuuwNj/wpencCF2mJnRD8R6E/6+hOmhsjrO6dD7jyYJS0do9WCu5ZPROXkaX9n6C ETtQoGm9TrZ3LBdbeTY1PJvdBTfuyu6j5ufqM4CIvJkhS/8Ng9zD9pVwWY66B6odAHwo K61dWk4ehVafbrIwojMS8DHwvBg71yXiHeftLGSUypTQFHspbWSjOYR11StkyekiKsLp HY0Q==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ygTGhNTn; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 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. [85.214.62.61]) by mx.google.com with ESMTPS id a640c23a62f3a-a7dc9f6cf88si694436066b.1053.2024.08.07.10.12.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 10:12:54 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ygTGhNTn; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 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 8824188BDC; Wed, 7 Aug 2024 19:12:44 +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="ygTGhNTn"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 169B888C05; Wed, 7 Aug 2024 19:12:43 +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 autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) (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 29B9488BD4 for ; Wed, 7 Aug 2024 19:12:40 +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-x32b.google.com with SMTP id 5b1f17b1804b1-4281faefea9so695315e9.2 for ; Wed, 07 Aug 2024 10:12:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1723050759; x=1723655559; 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=n3p4Z/bdjZuV6/Hz4Fj/7FWj/5Hu0091smaG+T0hGbo=; b=ygTGhNTnbVv1S7Kc3oD0mr4nyyVPoWbXDi6kz9ipMlPxhqb+zgfzSfAbDVkDLpvI3f f4TTg/JH5Upob3C9JoYI8tNxHXaRaVhdPSdOabRK4P2MXrOce6XhvnwYFt/9+BR+W16g azHxPg0z0+uDl4N+qoOFHkgqJR1Fnba3yb5A6A/oPTl0YJBSfzNqVSk9f7TFv3XFbmB/ gASdoMOlM+nrCtZHHyn6teLX+r9dHJnDcNOXZn0KFQxH4nHg8Yz8xdu9yRyOLrY7P24v kqGJH/jpkdUrZyawPd4D+mdp8OZFkpfZi5CpIUMUzF9xQYDqU0OEB3q7A6k214koxkn4 MKxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723050759; x=1723655559; 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=n3p4Z/bdjZuV6/Hz4Fj/7FWj/5Hu0091smaG+T0hGbo=; b=kT5Fmab82Tgr2JJzLSdtVssaYxGFI/qEg0XksvwOJ/v0Xo30PyRTUfFPY8esKIfO0v 4ZYgw+ZKJy01sJrbyr7Kvhz0qX0akZLrBUatnBgdxeEr0m1i8y+rLDC0FP5n82u+8ekd pen6WUU0hFfe5tZPYgyArhBOpYmA68FbkGSqGNiTh3RHNilsj7w55jMQ91z2//WnjtGX nFa5mfF3KS+pjbo+CUxmRP2X7x736W7JNvPmfpfaAdeYbQONxEZHjoOvM7boEfWqHP9C XRL3jXtLMsUesGDbFvggh/iX2oVhdunWw5+GwQdA6RhKeEdurzuephgG2XHT6mYlPG0d BTwQ== X-Gm-Message-State: AOJu0YxMkGwF9CGrMzl4UpuQ3TKFK6WekWInaD/1wL+KgOnVYxLjPH2J WpDjCK7YoLGigG8HFvvHrMCz0xc96EHGf1rcHTm8+6dP/6RupM51j81YhAruflcLS4mKKKNaAjv Jw6yC9EQb X-Received: by 2002:a05:6000:1bd2:b0:368:4492:eca9 with SMTP id ffacd0b85a97d-36bbc0e41d7mr11437185f8f.20.1723050759351; Wed, 07 Aug 2024 10:12:39 -0700 (PDT) Received: from builder.. ([2a01:e0a:3cb:7bb0:bb3d:43b8:4780:757c]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-36bbd0597b2sm16623781f8f.81.2024.08.07.10.12.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 10:12:39 -0700 (PDT) From: Jerome Forissier To: u-boot@lists.denx.de Cc: Ilias Apalodimas , Javier Tia , Raymond Mao , Maxim Uvarov , Tim Harvey , Jerome Forissier , Joe Hershberger , Ramon Fried , Tom Rini , Masahisa Kojima , Simon Glass , Yasuharu Shibata , Marek Vasut Subject: [PATCH v8 02/23] net: wget: removed unused function wget_success() Date: Wed, 7 Aug 2024 19:11:46 +0200 Message-Id: <23a2099efe241dd512a615e51e85e1941fc20a0b.1723050310.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 --- 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 */