DPDK patches and discussions
 help / color / mirror / Atom feed
From: David Marchand <david.marchand@redhat.com>
To: dev@dpdk.org
Cc: stable@dpdk.org, Harry van Haaren <harry.van.haaren@intel.com>,
	Jerin Jacob <jerinj@marvell.com>
Subject: [PATCH 01/11] service: fix build with clang 15
Date: Fri, 18 Nov 2022 09:53:03 +0100	[thread overview]
Message-ID: <20221118085313.2118977-2-david.marchand@redhat.com> (raw)
In-Reply-To: <20221118085313.2118977-1-david.marchand@redhat.com>

This variable is not used.

Bugzilla ID: 1130
Fixes: 21698354c832 ("service: introduce service cores concept")
Cc: stable@dpdk.org

Signed-off-by: David Marchand <david.marchand@redhat.com>
---
 lib/eal/common/rte_service.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/lib/eal/common/rte_service.c b/lib/eal/common/rte_service.c
index bcc2e19077..42ca1d001d 100644
--- a/lib/eal/common/rte_service.c
+++ b/lib/eal/common/rte_service.c
@@ -107,14 +107,12 @@ rte_service_init(void)
 	}
 
 	int i;
-	int count = 0;
 	struct rte_config *cfg = rte_eal_get_configuration();
 	for (i = 0; i < RTE_MAX_LCORE; i++) {
 		if (lcore_config[i].core_role == ROLE_SERVICE) {
 			if ((unsigned int)i == cfg->main_lcore)
 				continue;
 			rte_service_lcore_add(i);
-			count++;
 		}
 	}
 
-- 
2.38.1


  reply	other threads:[~2022-11-18  8:55 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-18  8:53 [PATCH 00/11] Fixes for " David Marchand
2022-11-18  8:53 ` David Marchand [this message]
2022-11-18 14:47   ` [PATCH 01/11] service: fix build with " Van Haaren, Harry
2022-11-18  8:53 ` [PATCH 02/11] vhost: " David Marchand
2022-11-18 10:23   ` Maxime Coquelin
2022-11-18  8:53 ` [PATCH 03/11] bus/dpaa: " David Marchand
2022-11-18  8:53 ` [PATCH 04/11] net/atlantic: " David Marchand
2022-11-18  8:53 ` [PATCH 05/11] net/dpaa2: " David Marchand
2022-11-18  8:53 ` [PATCH 06/11] net/ice: " David Marchand
2022-11-18  8:53 ` [PATCH 07/11] app/testpmd: " David Marchand
2022-11-18  8:53 ` [PATCH 08/11] app/testpmd: fix build with clang 15 in flow code David Marchand
2022-11-18  8:53 ` [PATCH 09/11] test/efd: fix build with clang 15 David Marchand
2022-11-18  8:53 ` [PATCH 10/11] test/member: " David Marchand
2022-11-18  8:53 ` [PATCH 11/11] test/event: " David Marchand
2022-11-21  1:51   ` Gao, DaxueX
     [not found] ` <20221119001318.GA16784@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net>
2022-11-21  8:12   ` [PATCH 00/11] Fixes for " David Marchand
2022-11-21 10:23 ` David Marchand

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221118085313.2118977-2-david.marchand@redhat.com \
    --to=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    --cc=harry.van.haaren@intel.com \
    --cc=jerinj@marvell.com \
    --cc=stable@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).