Skip to content

functions with useless return

Stephen Hemminger dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2log: rte_openlog_stream should be voidlib/librte_eal/common/eal_common_log.c lib/librte_eal/common/include/rte_log.h+2 -62 replies
2/2eal: pci probe and adjust_config should be voidlib/librte_eal/common/eal_common_options.c lib/librte_eal/common/eal_common_pci.c lib/librte_eal/common/eal_options.h +2 more+7 -171 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchNeil HormanBruce Richardson
SeriesA-b
1/2A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] functions with useless return

Fix a couple of cases (there are more) where functions always return 0, by changing them to be void.

Stephen Hemminger (2):
log: rte_openlog_stream should be void
eal: pci probe and adjust_config should be void

 lib/librte_eal/common/eal_common_log.c     | 3 +--
 lib/librte_eal/common/eal_common_options.c | 3 +--
 lib/librte_eal/common/eal_common_pci.c     | 7 ++-----
 lib/librte_eal/common/eal_options.h        | 2 +-
 lib/librte_eal/common/include/rte_log.h    | 5 +----
 lib/librte_eal/common/include/rte_pci.h    | 6 +-----
 lib/librte_eal/linuxapp/eal/eal.c          | 6 ++----
 7 files changed, 9 insertions(+), 23 deletions(-)
Signature · 1 line
2.1.4