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 C3DA043C4B; Fri, 8 Mar 2024 22:20:19 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AA81C40291; Fri, 8 Mar 2024 22:20:19 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id BCAAB40274 for ; Fri, 8 Mar 2024 22:20:18 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1086) id 1B5E020B74C0; Fri, 8 Mar 2024 13:20:18 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 1B5E020B74C0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1709932818; bh=PC4lXXExB86ukWN3Po08CBkmbPXm8GpDXn9h3wsyi04=; h=From:To:Cc:Subject:Date:From; b=OOYdInVjg848r14MEyBUw6ALfWeqmxvdTK6N9kGUBHLZshCnWaNnmA4Sexq7C+BtH 018Zoi+WmA8AL5zPNOx7L8vXk3VpIGL0PWtYAupngTZiSM5PxqiEsH8/a5jIU5wSHC uhzEDiICVXqc9sZiriZt43OkZU39ILZL/UJ4rZlI= From: Tyler Retzlaff To: dev@dpdk.org Cc: Bruce Richardson , Sameh Gobriel , Stephen Hemminger , Vladimir Medvedkin , Yipeng Wang , david.marchand@redhat.com, Tyler Retzlaff Subject: [PATCH] hash: remove return statement from function returning void Date: Fri, 8 Mar 2024 13:20:17 -0800 Message-Id: <1709932817-29583-1-git-send-email-roretzla@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 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 rte_thash_gfni_bulk and rte_thash_gfni_bulk_stub both return void. Remove superfluous return statement from rte_thash_gfni_bulk. Fixes: 944a03a5cfc1 ("hash: fix MSVC link on GFNI stubs") Cc: stephen@networkplumber.org Signed-off-by: Tyler Retzlaff --- lib/hash/rte_thash_gfni.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hash/rte_thash_gfni.h b/lib/hash/rte_thash_gfni.h index edae2e8..132f375 100644 --- a/lib/hash/rte_thash_gfni.h +++ b/lib/hash/rte_thash_gfni.h @@ -71,7 +71,7 @@ rte_thash_gfni_bulk(const uint64_t *mtrx, int len, uint8_t *tuple[], uint32_t val[], uint32_t num) { - return rte_thash_gfni_bulk_stub(mtrx, len, tuple, val, num); + rte_thash_gfni_bulk_stub(mtrx, len, tuple, val, num); } #endif /* RTE_THASH_GFNI_DEFINED */ -- 1.8.3.1