[dpdk-dev] [PATCH 0/2] functions with useless return

Neil Horman nhorman at tuxdriver.com
Fri Apr 17 17:53:54 CEST 2015


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 <nhorman at tuxdriver.com>



More information about the dev mailing list