From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58]) by dpdk.org (Postfix) with ESMTP id B8FA5378E for ; Fri, 17 Apr 2015 17:53:58 +0200 (CEST) Received: from hmsreliant.think-freely.org ([2001:470:8:a08:7aac:c0ff:fec2:933b] helo=localhost) by smtp.tuxdriver.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1Yj8aZ-0002gi-Bx; Fri, 17 Apr 2015 11:53:57 -0400 Date: Fri, 17 Apr 2015 11:53:54 -0400 From: Neil Horman To: Stephen Hemminger Message-ID: <20150417155354.GB26164@hmsreliant.think-freely.org> References: <1429284934-3261-1-git-send-email-stephen@networkplumber.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1429284934-3261-1-git-send-email-stephen@networkplumber.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Score: -2.9 (--) X-Spam-Status: No Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH 0/2] functions with useless return X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Apr 2015 15:53:59 -0000 On Fri, Apr 17, 2015 at 08:35:32AM -0700, Stephen Hemminger wrote: > 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 > > Series Acked-by: Neil Horman