All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen-OTpzqLSitTUnbdJkjeBofR2eb7JE58TQ@public.gmane.org>
To: dev-VfR2kkLFssw@public.gmane.org
Subject: [PATCH 0/2] functions with useless return
Date: Fri, 17 Apr 2015 08:35:32 -0700	[thread overview]
Message-ID: <1429284934-3261-1-git-send-email-stephen@networkplumber.org> (raw)

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

             reply	other threads:[~2015-04-17 15:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-17 15:35 Stephen Hemminger [this message]
     [not found] ` <1429284934-3261-1-git-send-email-stephen-OTpzqLSitTUnbdJkjeBofR2eb7JE58TQ@public.gmane.org>
2015-04-17 15:35   ` [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   ` [PATCH 2/2] eal: pci probe and adjust_config " Stephen Hemminger
     [not found]     ` <1429284934-3261-3-git-send-email-stephen-OTpzqLSitTUnbdJkjeBofR2eb7JE58TQ@public.gmane.org>
2015-04-20 13:14       ` Thomas Monjalon
2015-04-17 15:53   ` [PATCH 0/2] functions with useless return Neil Horman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1429284934-3261-1-git-send-email-stephen@networkplumber.org \
    --to=stephen-otpzqlsittunbdjkjebofr2eb7je58tq@public.gmane.org \
    --cc=dev-VfR2kkLFssw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.