From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id ECDE145AAF; Fri, 4 Oct 2024 18:24:55 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F31D242DD5; Fri, 4 Oct 2024 18:24:31 +0200 (CEST) Received: from mail-pg1-f181.google.com (mail-pg1-f181.google.com [209.85.215.181]) by mails.dpdk.org (Postfix) with ESMTP id 31A014025F for ; Fri, 4 Oct 2024 18:24:30 +0200 (CEST) Received: by mail-pg1-f181.google.com with SMTP id 41be03b00d2f7-7e9f355dd5dso143772a12.0 for ; Fri, 04 Oct 2024 09:24:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1728059069; x=1728663869; darn=dpdk.org; 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=mq4F0TDXepGPL3N0X2CCxjGXC7wT07YvUYXtuIuR/kY=; b=iNyBvY5V7JMfgq0mGP9ws/ihQdQ3k2HmI+Vb72vFqynq2viIeuzpPRq/B2v7xhmv2j viSy93qJaHa4cL+JuAltqSQBJpP1U0cD6LZe7XNxh8CNNsSHIAPPrO5utpzWWB9sjuTC QPQnOf4FXiXMia5phxCr7JMiAWD2Orpnr0AfYtbd+p4uGAv2cUD/dna2l4myEX75NNf6 e+H1o7aT+/Dz7EEcbU1Pke7hIqc0OLITOxt4+dVnVULJPTP/+hy/IWPZvpjlGTIuOqBn Io5MDi4oPZUsAqK1vkT886E0oJLS+sJSu+jK45HrhvvA9gjAIHsjWymjY0SI7iYbfQ1c yKyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728059069; x=1728663869; 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=mq4F0TDXepGPL3N0X2CCxjGXC7wT07YvUYXtuIuR/kY=; b=EDKukZIEDamXSTuiB789Hfskl5LMg9Pd3kCZz6b+STXPHd2wJa+tWZQTfK60KusILh LHOtlvCiA7C0vMGRhRfg7Q5HbDT7bubqJsrA0eJZaMiBkCAqm+0Yi7e9iLYuUqDl1xaK C7w31fTknppckoW8FRcTaN2mi+9Y9Ds/Z1QK2EwskOtlXy16S4suzscAHoGtV0Gmjqtx weesfMZ/r3kwRZjKiDwOUncc9StUNUOwUrP7Q30zqMyKoy+4ninhO0C9DfHu5y/lITQe MSZaCCeLyh12p9u7Aoy+D+ZCMzTu1ZV2PE4Cw5qPzbMnWh5YCEW5AvqhQV6QzmO+MhtR tMzw== X-Gm-Message-State: AOJu0YwdqahDhguqVT+z5IVl005Np+EBGi3ToHhPV4S82THar0A81bLN D4rScyIRqv4NvOQTduGB7GAHSL7+X/qJ7o6ePpT2mwpP28jOtkx1cM0Wu0BhAQfGwjbq6QG2fR7 5GPfFXg== X-Google-Smtp-Source: AGHT+IFNcxZbBbBcy7wss71Q6p+v0YrSXZQcUDca0WJ2GeAV6lqynC1wvkBlBBlbFez8NFKqY7ALug== X-Received: by 2002:a05:6a20:2d2a:b0:1d2:e807:b940 with SMTP id adf61e73a8af0-1d6dfafbea8mr5083365637.50.1728059069247; Fri, 04 Oct 2024 09:24:29 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7e9f680d7a1sm139231a12.19.2024.10.04.09.24.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Oct 2024 09:24:28 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Chas Williams , "Min Hu (Connor)" , Ivan Ilchenko , Andrew Rybchenko , Ferruh Yigit Subject: [PATCH 01/10] app/test: remove redundant call Date: Fri, 4 Oct 2024 09:21:48 -0700 Message-ID: <20241004162418.52940-2-stephen@networkplumber.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241004162418.52940-1-stephen@networkplumber.org> References: <20241004162418.52940-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org The patch to check return value of rte_eth_dev_info_get added a duplicate call in one spot. Fixes: 773392553bed ("app: check status of getting ethdev info") Signed-off-by: Stephen Hemminger --- app/test/test_link_bonding_rssconf.c | 1 - 1 file changed, 1 deletion(-) diff --git a/app/test/test_link_bonding_rssconf.c b/app/test/test_link_bonding_rssconf.c index 3c9c824335..2cb689b1de 100644 --- a/app/test/test_link_bonding_rssconf.c +++ b/app/test/test_link_bonding_rssconf.c @@ -616,7 +616,6 @@ test_setup(void) mac_addr.addr_bytes[5] = 0x10 + port->port_id; rte_eth_dev_default_mac_addr_set(port->port_id, &mac_addr); - rte_eth_dev_info_get(port->port_id, &port->dev_info); retval = rte_eth_dev_info_get(port->port_id, &port->dev_info); TEST_ASSERT((retval == 0), "Error during getting device (port %u) info: %s\n", -- 2.45.2