From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier Matz Subject: [PATCH 4/6] eal: remove undue printf Date: Tue, 18 Apr 2017 16:22:23 +0200 Message-ID: <20170418142225.6308-4-olivier.matz@6wind.com> References: <20170418142225.6308-1-olivier.matz@6wind.com> Cc: ferruh.yigit@intel.com, jianfeng.tan@intel.com, thomas@monjalon.net To: dev@dpdk.org Return-path: Received: from proxy.6wind.com (host.76.145.23.62.rev.coltfrance.com [62.23.145.76]) by dpdk.org (Postfix) with ESMTP id 992EB2BCD for ; Tue, 18 Apr 2017 16:22:25 +0200 (CEST) In-Reply-To: <20170418142225.6308-1-olivier.matz@6wind.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Remove the printf displaying the log level at initialization. It was introduced for debug purpose, but was not intended to be pushed. Fixes: 845afe51e428 ("eal: change specific log levels at startup") Reported-by: Ferruh Yigit Signed-off-by: Olivier Matz --- lib/librte_eal/common/eal_common_options.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/librte_eal/common/eal_common_options.c b/lib/librte_eal/common/eal_common_options.c index e9b45c49a..f470195f3 100644 --- a/lib/librte_eal/common/eal_common_options.c +++ b/lib/librte_eal/common/eal_common_options.c @@ -762,9 +762,6 @@ eal_parse_log_level(const char *arg) if (tmp >= UINT32_MAX) goto fail; - printf("set log level %s,%lu\n", - type, tmp); - if (type == NULL) { rte_log_set_global_level(tmp); } else if (rte_log_set_level_regexp(type, tmp) < 0) { -- 2.11.0