From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <stephen@networkplumber.org>
Received: from mail-pa0-f41.google.com (mail-pa0-f41.google.com
 [209.85.220.41]) by dpdk.org (Postfix) with ESMTP id CA05DC2FC
 for <dev@dpdk.org>; Fri, 17 Apr 2015 17:35:31 +0200 (CEST)
Received: by pabsx10 with SMTP id sx10so128673217pab.3
 for <dev@dpdk.org>; Fri, 17 Apr 2015 08:35:31 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:from:to:cc:subject:date:message-id;
 bh=nKBKdRTygTAmRTYY1uzqVw7znIcNElsPMeq93jLroOU=;
 b=iz0AoMt0+UWfCD6BEdHrmqmy+JdWi2LDXXm2Yy54gTAjTyzRkcmQl4rdaV8mmSuLoM
 QDAcJ0JF3ADR3uRpboLhP6osuhX1aNDYc9oL552YQiVflgWhXGsbhTu3Z8WkIrZF8ogk
 3V3ySn7Ei74l6uSuxYFb90UHEJ2JKjq73QZOrHN6w16ocSeTRMYCgvEX8S2JIuIii5wC
 utpt55F8xuz1YYxMLjmRCqoyfueMpI+d3JoLRdbVlT2Ug/dFYh5+vIRLGSL2YJPZs0GJ
 QucmSrTGJiiG5YuJIcKpVlp/3NcW6yf0EMywToOSYBHhLctx2zTFcVorc2ezlHpWRYG2
 fK6w==
X-Gm-Message-State: ALoCoQnJtDt//cscKDAs7hX5w/RCAOCI+namZ69WKX3S1DsBGPlxBwqz8SPjKbqxYFO+MwM9FBzu
X-Received: by 10.70.89.138 with SMTP id bo10mr6641139pdb.146.1429284931138;
 Fri, 17 Apr 2015 08:35:31 -0700 (PDT)
Received: from urahara.home.lan (static-50-53-82-155.bvtn.or.frontiernet.net.
 [50.53.82.155])
 by mx.google.com with ESMTPSA id dc5sm10460175pbc.53.2015.04.17.08.35.29
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);
 Fri, 17 Apr 2015 08:35:30 -0700 (PDT)
From: Stephen Hemminger <stephen@networkplumber.org>
To: dev@dpdk.org
Date: Fri, 17 Apr 2015 08:35:32 -0700
Message-Id: <1429284934-3261-1-git-send-email-stephen@networkplumber.org>
X-Mailer: git-send-email 2.1.4
Subject: [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 <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Apr 2015 15:35:32 -0000

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