From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id C088A5F1F for ; Thu, 20 Sep 2018 11:34:49 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Sep 2018 02:34:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,397,1531810800"; d="scan'208";a="90399653" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by fmsmga004.fm.intel.com with ESMTP; 20 Sep 2018 02:34:47 -0700 Received: from sivswdev01.ir.intel.com (sivswdev01.ir.intel.com [10.237.217.45]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id w8K9YlVO016734; Thu, 20 Sep 2018 10:34:47 +0100 Received: from sivswdev01.ir.intel.com (localhost [127.0.0.1]) by sivswdev01.ir.intel.com with ESMTP id w8K9YkS9018766; Thu, 20 Sep 2018 10:34:46 +0100 Received: (from aburakov@localhost) by sivswdev01.ir.intel.com with LOCAL id w8K9Ykbf018762; Thu, 20 Sep 2018 10:34:46 +0100 From: Anatoly Burakov To: dev@dpdk.org Cc: Bruce Richardson , thomas@monjalon.net, xuemingx.zhang@intel.com Date: Thu, 20 Sep 2018 10:34:46 +0100 Message-Id: X-Mailer: git-send-email 1.7.0.7 Subject: [dpdk-dev] [PATCH] eal/bsd: fix compile issue due to unused variables X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Sep 2018 09:34:50 -0000 Fixes: 1009ba1704f9 ("mem: add internal API to get and set segment fd") Signed-off-by: Anatoly Burakov --- lib/librte_eal/bsdapp/eal/eal_memalloc.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/librte_eal/bsdapp/eal/eal_memalloc.c b/lib/librte_eal/bsdapp/eal/eal_memalloc.c index 06afbcc99..a5847f0bd 100644 --- a/lib/librte_eal/bsdapp/eal/eal_memalloc.c +++ b/lib/librte_eal/bsdapp/eal/eal_memalloc.c @@ -49,19 +49,21 @@ eal_memalloc_sync_with_primary(void) } int -eal_memalloc_get_seg_fd(int list_idx, int seg_idx) +eal_memalloc_get_seg_fd(int list_idx __rte_unused, int seg_idx __rte_unused) { return -ENOTSUP; } int -eal_memalloc_set_seg_fd(int list_idx, int seg_idx, int fd) +eal_memalloc_set_seg_fd(int list_idx __rte_unused, int seg_idx __rte_unused, + int fd __rte_unused) { return -ENOTSUP; } int -eal_memalloc_get_seg_fd_offset(int list_idx, int seg_idx, size_t *offset) +eal_memalloc_get_seg_fd_offset(int list_idx __rte_unused, + int seg_idx __rte_unused, size_t *offset __rte_unused) { return -ENOTSUP; } -- 2.17.1