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 45985A0542 for ; Fri, 18 Nov 2022 09:55:04 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3442941181; Fri, 18 Nov 2022 09:55:04 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id DA79741181 for ; Fri, 18 Nov 2022 09:55:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1668761702; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=U2xQtFuJGTo2lRFar4K2kL1s546UJLYs6ItVgRrjKYc=; b=NIkxWLmF2C2V/iUztehM737jYeYqcmiIneeAkt03PeFwaMJIVvWrDg4McYB7nrUQ/heLFG sfjfXANPhGb//JnomYJnAejuDslYOo8vSlBaw/6ZJ0IZl+HcfIOVPtZzh/zeZttcIq78kc JU5nwZQQqmqkLOSX1GeqGDd4WA7WoW8= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-164-yJayr8gQODe1u7x6SVEuEA-1; Fri, 18 Nov 2022 03:54:59 -0500 X-MC-Unique: yJayr8gQODe1u7x6SVEuEA-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B7B418027FE; Fri, 18 Nov 2022 08:54:58 +0000 (UTC) Received: from localhost.localdomain (ovpn-192-54.brq.redhat.com [10.40.192.54]) by smtp.corp.redhat.com (Postfix) with ESMTP id C3E6B40E9920; Fri, 18 Nov 2022 08:54:57 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: stable@dpdk.org, Harry van Haaren , Jerin Jacob Subject: [PATCH 01/11] service: fix build with clang 15 Date: Fri, 18 Nov 2022 09:53:03 +0100 Message-Id: <20221118085313.2118977-2-david.marchand@redhat.com> In-Reply-To: <20221118085313.2118977-1-david.marchand@redhat.com> References: <20221118085313.2118977-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org This variable is not used. Bugzilla ID: 1130 Fixes: 21698354c832 ("service: introduce service cores concept") Cc: stable@dpdk.org Signed-off-by: David Marchand --- 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