From patchwork Tue Apr 18 14:22:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olivier Matz X-Patchwork-Id: 23710 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 7D2F75A98; Tue, 18 Apr 2017 16:22:32 +0200 (CEST) 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) Received: from glumotte.dev.6wind.com (unknown [10.16.0.195]) by proxy.6wind.com (Postfix) with ESMTP id B62CF2A347; Tue, 18 Apr 2017 16:22:14 +0200 (CEST) From: Olivier Matz To: dev@dpdk.org Cc: ferruh.yigit@intel.com, jianfeng.tan@intel.com, thomas@monjalon.net Date: Tue, 18 Apr 2017 16:22:23 +0200 Message-Id: <20170418142225.6308-4-olivier.matz@6wind.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170418142225.6308-1-olivier.matz@6wind.com> References: <20170418142225.6308-1-olivier.matz@6wind.com> Subject: [dpdk-dev] [PATCH 4/6] eal: remove undue printf 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: , 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) {