From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: [PATCH 0/2] functions with useless return Date: Fri, 17 Apr 2015 08:35:32 -0700 Message-ID: <1429284934-3261-1-git-send-email-stephen@networkplumber.org> To: dev-VfR2kkLFssw@public.gmane.org Return-path: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "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