From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 70E245592 for ; Mon, 12 Sep 2016 16:23:48 +0200 (CEST) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga102.fm.intel.com with ESMTP; 12 Sep 2016 07:23:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,323,1470726000"; d="scan'208";a="7557856" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga005.jf.intel.com with ESMTP; 12 Sep 2016 07:23:45 -0700 Received: from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com [10.237.217.46]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id u8CENiEt031170; Mon, 12 Sep 2016 15:23:44 +0100 Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id u8CENiBv009907; Mon, 12 Sep 2016 15:23:44 +0100 Received: (from fyigit@localhost) by sivswdev02.ir.intel.com with id u8CENi73009903; Mon, 12 Sep 2016 15:23:44 +0100 X-Authentication-Warning: sivswdev02.ir.intel.com: fyigit set sender to ferruh.yigit@intel.com using -f From: Ferruh Yigit To: dev@dpdk.org Cc: Ajit Khaparde , Stephen Hurd , Yuanhan Liu Date: Mon, 12 Sep 2016 15:23:43 +0100 Message-Id: <1473690223-9873-1-git-send-email-ferruh.yigit@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <20160911122539.GA23158@yliu-dev.sh.intel.com> References: <20160911122539.GA23158@yliu-dev.sh.intel.com> Subject: [dpdk-dev] [PATCH v2] net/bnxt: make driver less verbose 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: Mon, 12 Sep 2016 14:23:48 -0000 This line printed for every application even if driver is not used at all. Removing the line to reduce the noise. Signed-off-by: Ferruh Yigit Acked-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_ethdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c index 3795fac..d4aa2eb 100644 --- a/drivers/net/bnxt/bnxt_ethdev.c +++ b/drivers/net/bnxt/bnxt_ethdev.c @@ -1054,9 +1054,9 @@ static struct eth_driver bnxt_rte_pmd = { .dev_private_size = sizeof(struct bnxt), }; -static int bnxt_rte_pmd_init(const char *name, const char *params __rte_unused) +static int bnxt_rte_pmd_init(const char *name __rte_unused, + const char *params __rte_unused) { - RTE_LOG(INFO, PMD, "bnxt_rte_pmd_init() called for %s\n", name); rte_eth_driver_register(&bnxt_rte_pmd); return 0; } -- 2.7.4