DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 0/2] functions with useless return
@ 2015-04-17 15:35 Stephen Hemminger
  2015-04-17 15:35 ` [dpdk-dev] [PATCH 1/2] log: rte_openlog_stream should be void Stephen Hemminger
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Stephen Hemminger @ 2015-04-17 15:35 UTC (permalink / raw)
  To: dev

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

-- 
2.1.4

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

end of thread, other threads:[~2015-07-30  0:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-17 15:35 [dpdk-dev] [PATCH 0/2] functions with useless return Stephen Hemminger
2015-04-17 15:35 ` [dpdk-dev] [PATCH 1/2] log: rte_openlog_stream should be void Stephen Hemminger
2015-05-19 10:24   ` Bruce Richardson
2015-07-30  0:35     ` Stephen Hemminger
2015-04-17 15:35 ` [dpdk-dev] [PATCH 2/2] eal: pci probe and adjust_config " Stephen Hemminger
2015-04-20 13:14   ` Thomas Monjalon
2015-04-17 15:53 ` [dpdk-dev] [PATCH 0/2] functions with useless return Neil Horman

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