From patchwork Wed Sep 11 09:58:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Forissier X-Patchwork-Id: 827378 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp710423wrc; Wed, 11 Sep 2024 02:59:58 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXjXHEoNOqg+cDWxI4AGAoa9YdxVWtjke45ziZPDWrRzF7FJD/LjOQn2q6Vz/G3mFRGlN3gng==@linaro.org X-Google-Smtp-Source: AGHT+IHhZKa+Y3hqiS7Bi5VaBb3L2ngLGbLf0K/YdBGtQwlkKXAgetR6Y+O69JAVdIqkdZ9QnitT X-Received: by 2002:adf:ee47:0:b0:371:82ec:206e with SMTP id ffacd0b85a97d-378b0791f05mr1678361f8f.5.1726048798724; Wed, 11 Sep 2024 02:59:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726048798; cv=none; d=google.com; s=arc-20240605; b=NOqNYZVciif97toKFQAhWy7Gv7TXxeuCEuZnvQR7TQGXwNQILsY8NdodiYjfKz2txe K41Q2Qf8xNsAycSxOGQYnh027CybXFnXaL6/z45pciTp71UC7G/3XqZwGzfXNLfd8f9X 19GLBCbwMf/iCBk7/2GOz4wCM9cRu9JQw8IhQK+TUKkO+JP8E4DAaDYgXPrlYkf4fjWm loFhrX8ASApRlzHxS0CFLwdoAb/T48E1QXAiZkBrXliIlBX5yiA0+gshrvJrirZjrt2x bxWBYQISaIjThH2xhFHwGO9kvFLGfyUMrdMJdmm7IOz0JiDITcP4MRSiOu4uuo27w4ja JnUA== 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=2+kKclKOdggmvQLqu7epBFwPbgxjPaxHLYxPdceOudQ=; fh=m0pQEFrVGLt9C+Sns6fXtYwPZqBEeGcTeHmq/e/9E3U=; b=iBtCjz8JHZhKmbQLuEHOWWPhtXEQnJT6LkrVguxSqpVks9pDAAbo39ME64lD+pk9k2 3rdySgg/iRvwqpjMo1Rdh5IWP0TIT++wLNt+eMRSRwbCFrmhlm2xW4R5wxS3WpdK06dB ITiwk70EEXxv4jW8rilPpt8WKk5w1Soq5ZhBoKqgOq5z6UObGrZ5lp73DO1trT8o0Y2h domRujEaVF5EWsuJWd7Y3Optj3tJU188/x68ugVgv0kW/pnYiJUNPKJXvGQQfC82BOlS FRwqquoveDaxUkX0iHjMiuNmHJ9+5wUZEqPgi1ppfRqe0wTvAmiG+JmJyvmUeboB1gZb G6Qg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tHbAjfCC; 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 ffacd0b85a97d-378956b8e88si4091084f8f.665.2024.09.11.02.59.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Sep 2024 02:59:58 -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=tHbAjfCC; 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 1848789266; Wed, 11 Sep 2024 11:58:59 +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="tHbAjfCC"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7839C89254; Wed, 11 Sep 2024 11:58:56 +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=unavailable autolearn_force=no version=3.4.2 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) (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 98BCB8923F for ; Wed, 11 Sep 2024 11:58:54 +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-x330.google.com with SMTP id 5b1f17b1804b1-42cb1e623d1so17757225e9.0 for ; Wed, 11 Sep 2024 02:58:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726048734; x=1726653534; 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=2+kKclKOdggmvQLqu7epBFwPbgxjPaxHLYxPdceOudQ=; b=tHbAjfCCbF1fxSkwIt5lHG91PyB60hyIxoFEPHeL5cujVFxkTxIWW4OuT/XKWJiwSu HTuxJThKZ1Oc2VuoLELOpcCiWzQYIvBXJKkcm6BBe7iC4ejgOxCTVZvPfkZqHo5Umlwu Ax4GtmKDo2hEX6166CK6IGA225P/bUfT4+ObWW1oAEPeTd8Xr9qirOwiV2GOHdUX/yJg hjkv26ekb4zN8RuSuhttui0GPYjLUudGN1YCwgcMaC/xxYx1bYbI0j8VzOLBw5SQKSlY IThK267iPvYDEJEfAQaCEJhyVwVmvbAIrCrF2arNZenziG5OpNmj8+g4EwNOzX4Mw2Sy QzLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726048734; x=1726653534; 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=2+kKclKOdggmvQLqu7epBFwPbgxjPaxHLYxPdceOudQ=; b=BN9aogRikSoqMDoj55egQM2snnXMKsMSmgQP0064C1DnogqBFd9ggja4bJrhI7n4A7 lDOWjbNzEo39L2ffZj2glKhV4x0xKqDCg05/BkgnNb9GYMa8Rs3dWYQ79N5sL+PTB4V/ e69RfptsFQHxvWvMGYUIUWfgtO6NgXI+OypMye/pU0Sz6ymthU2t1VTDnONALRNg8HPs nxVTG842Tll08Qx38NGGaANh6dTLyA9T02S4Eff8nnbW8GKY0PC+fZBs/MDSOnhfBF8R yyfXMdnZGLlQGkeeZ6ucHt0HG077G3lbCA9p2XooOgcDn3qqyJNo3R9r/vgAMNeHOT3k +GQg== X-Gm-Message-State: AOJu0Yza4yB7oDokoPvJKwwQVV8rpHSBIwayOtdycSLg5iqJVZ50+0eB YcTkL7W3MEDGKU1rg3VkQtbXN2PHyHB/ywBmpoCKxcWs16L2zJT/bafuSTAzT9OkzvkwKO2CNcp UJZhg/g== X-Received: by 2002:a05:600c:3505:b0:42c:b950:680b with SMTP id 5b1f17b1804b1-42ccd32def2mr18513405e9.20.1726048733758; Wed, 11 Sep 2024 02:58:53 -0700 (PDT) Received: from builder.. ([2a01:e0a:3cb:7bb0:7d92:535d:cd3d:335b]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37895649bafsm11300507f8f.7.2024.09.11.02.58.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Sep 2024 02:58:53 -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 , Yasuharu Shibata , Sughosh Ganu , Masahisa Kojima , Marek Vasut Subject: [PATCH v4 06/15] net: wget: removed unused function wget_success() Date: Wed, 11 Sep 2024 11:58:19 +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 4a168641c65..6ebf9bca0d8 100644 --- a/net/wget.c +++ b/net/wget.c @@ -196,13 +196,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 */