From patchwork Wed Aug 28 12:10:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Forissier X-Patchwork-Id: 823154 Delivered-To: patch@linaro.org Received: by 2002:adf:f4c1:0:b0:367:895a:4699 with SMTP id h1csp754679wrp; Wed, 28 Aug 2024 05:11:45 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWojmxjWqdRcikDtOBPTTbbRI6U1cg3YgvEIQkLpEBDxgUi7W0KLipVTlBHatlSLM0puo4OWg==@linaro.org X-Google-Smtp-Source: AGHT+IFIXUrhrk1MMMXRqaKRd9CVkCzuqoC4XtchktcHuxYnxgEwH8AV7CEULdlH/f5572h8gjMP X-Received: by 2002:a2e:6e17:0:b0:2ef:2525:be90 with SMTP id 38308e7fff4ca-2f4f493f375mr108276361fa.31.1724847104759; Wed, 28 Aug 2024 05:11:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1724847104; cv=none; d=google.com; s=arc-20240605; b=ULawdAv8ShehETwMxDpQxLFPqjaa5DMbeVnt6xX9IP9XzUyQXHj3OZz0qrn1TgGs4f zu9DrPl61CxSwGuphXX2N3jafKq2Jhgowm2xB4VczZSOJ4EDZoxvLDF7fCSvUWBetFq9 qC0PF9KBLuWghmGYaYC4LtypKKmWxTkY3Kk7f4vaF8SwxRH94PK4hbObn1DpJnZ9Rby4 RN5/3teHZHqtmMonYHmzY5374CMvsqJB8imUhxxlEx+e/L6XNCzo88wIpr6xjx0FWSZ9 X5anEc9Ds3p8Aezr44LD8Id6wbbLJA6q3VZaHXdbekmDFMke1S/IcPjAopBUy/dW9XiF 0cEA== 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=/GuQLY2YZQmzPr+GaKiym8bRViMHsvubT9envaMps2A=; fh=eF2dVUzkgP5mhHOt63JrJDeqPkORUpgynpZkLJIBl1o=; b=l3bTjNDUz3PIZ6pTws2X1u3hNxvmAPDltMhG5ClV1QhbU8L5mb8R1Uca8icbTxiJAa IPXOi4K9J1jrcM7aFZyitzmxoW60PTONP6i/Oaj67tgOrdz+EdmIRnXqhT3Zb/Aa1VC4 UNq4gAcZYGSDk9AQYA/2cDmVk8TaY7tl0ZTWln8dVXH2z1XdL6EzDGD09AxVW1lu7Ks4 MZisNn59FPG9/XlKcqXFcl/NjMeIz0DyR50XxdVdzElMFx5oyXiM7s5CL1ceDFGyDY6H 5ecbQeJHEGlIHfEGsXRhY/2cYYXGd18bE1/Z5WaXmS3/vkWt9NHw46+epa8BsNsKrKHA hJmA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AhS0+4xx; 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 38308e7fff4ca-2f4047aa800si43550291fa.26.2024.08.28.05.11.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Aug 2024 05:11:44 -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=AhS0+4xx; 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 08C6988ADB; Wed, 28 Aug 2024 14:10:53 +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="AhS0+4xx"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B19F688AFB; Wed, 28 Aug 2024 14:10:50 +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-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) (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 D5F9488868 for ; Wed, 28 Aug 2024 14:10:48 +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-wr1-x42d.google.com with SMTP id ffacd0b85a97d-3719753d365so3729798f8f.2 for ; Wed, 28 Aug 2024 05:10:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1724847048; x=1725451848; 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=/GuQLY2YZQmzPr+GaKiym8bRViMHsvubT9envaMps2A=; b=AhS0+4xxSD0FxYCsXmnhhUyg9zWL3M1ViG6/iZgKNcMoZpPxh0m1xNeQsh/izWJteG C9q9ea1eGedyKTyqqDnDemQE2ApNRD632pZ/YtL2rKJSZ4ZrH8vHHWLz0lA8WMmizaTf fHQfvNjbxhjBSkpDu7VS5KvFw2SXxsEogMUh0TYe1BumMKDk0a3ONqALB6/P/ZpBq5ip SzUSW86zinH0JE+ZVUgL1xWKdkYy6hRtKoKGGirN900EtGlOMAYraT8xbSr27W5N7UhJ j3eH4gBB274PcJQzG5BMUtNNoTC2ZfODa9UFB0ZzKOtlX5X9jQpGcWgbwzFsH3fJpuVY SQcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724847048; x=1725451848; 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=/GuQLY2YZQmzPr+GaKiym8bRViMHsvubT9envaMps2A=; b=E3O/4cZmTKIt01Gcp8P6q5+FT1s5UgwEIsRq4tYF2KS4EXAkglbj8oQwaEwScqBmnZ XV8j2ofOBqvmU8w7+Xr0BCKDsH9tLHQ057N03m6SJ63dVMPWxn+1XC99VMosyFhLm0om mVCfrf4/SygnNyNqR1boWaUwBajE33tAFOtXHtVtiBP8WGXDu3z9Ls/b8tsfnCslmWSs OOjhRCbvn+CtAot/772+hK2pgCHfZx4m8ugJJ1FGVUE0sKxCesgr0PJ6UoJIg2WcE00R e5fxHEV4TyP36y3EUbTxMnw+vyWSMlFu4VRLXdmbc7gHnKbwcDxMet6q5AGDMXUO7+05 YK3w== X-Gm-Message-State: AOJu0YwWjIgOVQsDvbjmZ3ZElsspXU31wfA9IzEgjaIRHmyyqsLWyecl IrWPYwH4iZ3gj1CrN47ynGmB/rRkPJ6t8muJvBHhKlBluvbrtlc/EYRQa4GMBSfkY5p5hG1/J9K as2LnwA== X-Received: by 2002:adf:f547:0:b0:367:9621:6fa with SMTP id ffacd0b85a97d-373118b9b3amr11180450f8f.37.1724847048037; Wed, 28 Aug 2024 05:10:48 -0700 (PDT) Received: from builder.. ([2a01:e0a:3cb:7bb0:8ac3:aada:f033:985a]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42ba639687csm19470365e9.8.2024.08.28.05.10.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Aug 2024 05:10:47 -0700 (PDT) From: Jerome Forissier To: u-boot@lists.denx.de Cc: Ilias Apalodimas , Peter Robinson , Jerome Forissier , Joe Hershberger , Ramon Fried , Tom Rini , Masahisa Kojima , Yasuharu Shibata , Richard Weinberger , Marek Vasut Subject: [PATCH 06/13] net: wget: removed unused function wget_success() Date: Wed, 28 Aug 2024 14:10:29 +0200 Message-Id: <5f77c205f646201b5d68f65eb8872475d18d2836.1724846454.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 f1dd7abeff..0e4dc5159d 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 */