DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] hash: remove return statement from function returning void
@ 2024-03-08 21:20 Tyler Retzlaff
  2024-03-14 15:58 ` David Marchand
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Tyler Retzlaff @ 2024-03-08 21:20 UTC (permalink / raw)
  To: dev
  Cc: Bruce Richardson, Sameh Gobriel, Stephen Hemminger,
	Vladimir Medvedkin, Yipeng Wang, david.marchand, Tyler Retzlaff

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 <roretzla@linux.microsoft.com>
---
 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-05-16 16:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-08 21:20 [PATCH] hash: remove return statement from function returning void Tyler Retzlaff
2024-03-14 15:58 ` David Marchand
2024-03-14 16:30   ` Tyler Retzlaff
2024-04-04 18:19 ` Tyler Retzlaff
2024-05-16 16:58 ` Thomas Monjalon

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).