From patchwork Fri Aug 30 10:16:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Forissier X-Patchwork-Id: 823971 Delivered-To: patch@linaro.org Received: by 2002:a5d:48c1:0:b0:367:895a:4699 with SMTP id p1csp701244wrs; Fri, 30 Aug 2024 03:19:06 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVjCJ5AsbOeAUskMv+8ZfqxDq2+7pGcW4qcwcWJ8Il5Ug25g8VBXTFlE3u4Qvnou1P9qicg2w==@linaro.org X-Google-Smtp-Source: AGHT+IHVR3BOVx4s5bBE+WeIYA1IFtQb9v3+V0yb/mtzDcFEUpjNvk9wdx8UMqIxRMXvZY6XDi6s X-Received: by 2002:a17:907:2d8e:b0:a86:a178:42da with SMTP id a640c23a62f3a-a897f84d7fcmr432298466b.21.1725013145918; Fri, 30 Aug 2024 03:19:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1725013145; cv=none; d=google.com; s=arc-20240605; b=G+hlPPZP/aTGs3PkeaFy8PAPAI6aLKZv+lRSnJWHeupA2yHInciczxi8hzbX3lh3as Kdh+yliVdlUL+d9iDOwCBH+sZ6QGvSKUh/WQ3MihdCVaEfDInaWuq1XdyOcYJJU3PSf8 s5OL41Gg8v2GhdXv+4EZ3yWFqQ/Tn4tDX4PLTFJ7FsKziwG+xND900eSjz803GFa34B4 OT7lYTKBX+bnWM6zQr3fcX/k0nBWaxeh4/Pm3fCH9NRDjBkGW9gK8Uhd7qmJbHXy485X DaQdcLkFhb5CPl8HcDgN2mmz86tadV1dyEHzaPu7F4wpnAQU0pOIggDhsfnmQYPvmhgL y3hQ== 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=3o66Wp/cgY/BOAgJXuexd8LFm/1I5mfAo5SsoYZAPUE=; fh=yd0u+VQx5vYxqZfg7vvFkaP5jOiS+Ih6ZISin+39enw=; b=MbdvoQqHCS0ECOlt0keSWwd35SWOTngxiKtumcrS5ihEwYNl7DVOFdLjIEeYsCnWJS luoWRBH5OiuEF4epDbHDuIrsVhUCqAGK7IiQtbkqTqJgY2+jo7eK2uCj9Jnay5Gn/Oby z0hZfR4dH7AEtOkd0WgvFrnvw5sdeF+JZCjl9jIyidy1drf5hrr/zk13sHr7ERtL4VxK 1hrmbVWtIszAFE+98P6eqP8J2sdHSySwJ2ueNe3KIm/mzReBxVmHOMZO5E7ZAKP7gx/D jxXI990fwsyZrD6tJtOYk75A4xEYC+s6J+Eb28LjpTh99EYov2QZIZqHgrL3QO444huk PWdw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pNYtvCQu; 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-a8988f410f2si255600766b.61.2024.08.30.03.19.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Aug 2024 03:19:05 -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=pNYtvCQu; 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 441CA88A92; Fri, 30 Aug 2024 12:17: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=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="pNYtvCQu"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 41B8C889F8; Fri, 30 Aug 2024 12:17:36 +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-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) (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 1BA07889C3 for ; Fri, 30 Aug 2024 12:17:32 +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-x32e.google.com with SMTP id 5b1f17b1804b1-42bbc70caa4so3523175e9.0 for ; Fri, 30 Aug 2024 03:17:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1725013051; x=1725617851; 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=3o66Wp/cgY/BOAgJXuexd8LFm/1I5mfAo5SsoYZAPUE=; b=pNYtvCQuQwmfI+AVbHP5r7GYs3WQshTk5uHRWBvoEos153D4ojlrbd1+3ee5GP2Zsx //ZXqiUoJ61Kk0ZuKEB4bRDLYg9y6ws23Vz2bR3uxfP8UE1CLgnOkv5YdtGcqJNXEXCH SVN2rddcNcD0XEcjFm0VSPIS1xa8kEQb1k+K/+debRs6QlbP+9mE5rBa9TWF1hHMNmnF UealmR8JtemeqO82aSVNYVjzvw8WEZxWqftFxqp68oMDOwcdM9SrDRiwNfUi++uCnZAI iIXPKaMsLJG0GacE+DCU9IVvrRDYOHOzjgHGR2+xZpurOGE4k5Ug4HnbKwAo9a/5QQjq BkfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725013051; x=1725617851; 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=3o66Wp/cgY/BOAgJXuexd8LFm/1I5mfAo5SsoYZAPUE=; b=TGteUdxnh0C2lLfL3KGTRF3wSaUGaESQ41dRRxLBAYO67WH+ZNkf2j9XkL1Dj0nPVk RZCegzCOgkBynvXu1lGXAUmdEtjaAhga3Gcl7JGBF/oY0yHrHklLnUTd7UkxDJdcUyYu d0pAAWzmyQZ5y/F+q26QGqDviYYDzwIewyyVeRRzQ7m0zMsCgvFc5wFR4tFdkmFAODhH axWfP6Jlqnx1bPHjKlMml5jAKTtC9MR6+xdxNjWQaSdww3iiU3cPh6ilVXyF59HylwcV XsbvYEwBgQiiGa4QHE5zHrep+zRwjpdOmIU9PY8omySmMirmHK8LzFOhshzVhDhIh0hC /LOA== X-Gm-Message-State: AOJu0YzNvgfynRWMPZb2MU8yNLJ06fJ6Z/6vJ7Tp4kr7GzSA0NZzaEvd +EBkZZTVn7megjvhDq9RHBotgIopqOltLlqjsp+JNltDIjR9JSd9qXVoOD2GttzcIxxu0ODYhSq 90+2CyNSs X-Received: by 2002:a05:6000:2ac:b0:368:255e:ab13 with SMTP id ffacd0b85a97d-3749b57eb7cmr3891789f8f.50.1725013050700; Fri, 30 Aug 2024 03:17:30 -0700 (PDT) Received: from builder.. ([2a01:e0a:3cb:7bb0:6417:8cf6:a7f7:ee38]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-374b6a3d27fsm472728f8f.59.2024.08.30.03.17.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Aug 2024 03:17:30 -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 , Simon Glass , Yasuharu Shibata , Marek Vasut Subject: [PATCH v2 07/16] net: wget: removed unused function wget_success() Date: Fri, 30 Aug 2024 12:16:50 +0200 Message-Id: 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 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 */