From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B163C41D32; Tue, 21 Feb 2023 20:02:30 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F330142D33; Tue, 21 Feb 2023 20:02:23 +0100 (CET) Received: from mail-pj1-f46.google.com (mail-pj1-f46.google.com [209.85.216.46]) by mails.dpdk.org (Postfix) with ESMTP id C076742C76 for ; Tue, 21 Feb 2023 20:02:19 +0100 (CET) Received: by mail-pj1-f46.google.com with SMTP id qi12-20020a17090b274c00b002341621377cso5875027pjb.2 for ; Tue, 21 Feb 2023 11:02:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=KaYsu7gz7TO+vOUNdxRcqvUT1IJO0KThl+eic2e4JGE=; b=7E7JvL3q0PIxTdhYz3huNaHzooZZqhiLIRF+b5V+KoJDhY7e35woV3U8P0+Ie2PlVh LlXtlOI6nhT1GusLgNn4Z/QrIG412jyqgFpS4Zi5e8HfJgukImTlgEWbss3wltx0BCGT fo4IAYir829xdrkzCIxB0yviRBIJu7rGsfvgGjFpMZ2NprrCwV1I/o6IAz1DP7ejnx3M 7BlI7MYDwmGHoK4uuDXpi+9/lQf+COxA2oWDHRwI1c9FFtyd12UEDOadcTqsIr7uOuk+ 4z/Hbo1uaC57hLdynAJj8o2UZTOK9aMig8SPhAhNj6R8oUVSTUvShhouZxDsM4a2OSSq Ca/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KaYsu7gz7TO+vOUNdxRcqvUT1IJO0KThl+eic2e4JGE=; b=v/fjcpVEqPvR3ba7uR+Ne+vIt46rCMKeDOkT4E9lc5WlPAS4ZIAgl15BhyW+0MoZ3m j/qYmpIcgiJgTpImxJUgBPQrV6yeLE6Wq8s7o5QbOjygViZ/44y9oJqrjwuDkpek1BeV 3zuDJ1aVwDUdYXatjb1D6tQAcDIlipUsoYDBLq4dpJEomPG59+hVZc4RV9jcbZIFwIp4 GlmVVXbOLLR0Acob66dHQzELnB1jlO49QleczjCj8UJ+mANgLuGLRItV9tbGTFGTpWnd B8X/lQM/uyYxa6WKIaUtfdzo2WY+RPbNRQP+m695/JycxFsxDhnMelEtuXXp1Lac71Bn Ljew== X-Gm-Message-State: AO0yUKUJ0vTAuRA4PxVr76/H2fuks0nnli4W1v2sIIToxmABSHqM+2Y4 NdlYb9N697NXSoJlGfCjGc1sVPnlZaGWhNqdzxg= X-Google-Smtp-Source: AK7set9GGMy+DAIsT1nzfXPGvaO4BWI/j0e1JfsF8xqLCosDAxWPTPKwgwG/ZgVob1QFoA9FGrTpkw== X-Received: by 2002:a17:903:7c3:b0:19a:821b:482 with SMTP id ko3-20020a17090307c300b0019a821b0482mr5472836plb.52.1677006138688; Tue, 21 Feb 2023 11:02:18 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id jc4-20020a17090325c400b001991e59fde6sm10213018plb.216.2023.02.21.11.02.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 11:02:18 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v9 03/22] log: drop unused RTE_LOGTYPE_TIMER Date: Tue, 21 Feb 2023 11:01:49 -0800 Message-Id: <20230221190208.514276-4-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230221190208.514276-1-stephen@networkplumber.org> References: <20230207204151.1503491-1-stephen@networkplumber.org> <20230221190208.514276-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org The timer code does not use rte_log. Signed-off-by: Stephen Hemminger --- lib/eal/common/eal_common_log.c | 1 - lib/eal/include/rte_log.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/eal/common/eal_common_log.c b/lib/eal/common/eal_common_log.c index 894701e8c19c..5421da008f5b 100644 --- a/lib/eal/common/eal_common_log.c +++ b/lib/eal/common/eal_common_log.c @@ -352,7 +352,6 @@ static const struct logtype logtype_strings[] = { {RTE_LOGTYPE_MALLOC, "lib.malloc"}, {RTE_LOGTYPE_RING, "lib.ring"}, {RTE_LOGTYPE_MEMPOOL, "lib.mempool"}, - {RTE_LOGTYPE_TIMER, "lib.timer"}, {RTE_LOGTYPE_PMD, "pmd"}, {RTE_LOGTYPE_HASH, "lib.hash"}, {RTE_LOGTYPE_LPM, "lib.lpm"}, diff --git a/lib/eal/include/rte_log.h b/lib/eal/include/rte_log.h index 11d517806054..16d6ea31583d 100644 --- a/lib/eal/include/rte_log.h +++ b/lib/eal/include/rte_log.h @@ -30,7 +30,7 @@ extern "C" { #define RTE_LOGTYPE_MALLOC 1 /**< Log related to malloc. */ #define RTE_LOGTYPE_RING 2 /**< Log related to ring. */ #define RTE_LOGTYPE_MEMPOOL 3 /**< Log related to mempool. */ -#define RTE_LOGTYPE_TIMER 4 /**< Log related to timers. */ + /* was RTE_LOGTYPE_TIMER */ #define RTE_LOGTYPE_PMD 5 /**< Log related to poll mode driver. */ #define RTE_LOGTYPE_HASH 6 /**< Log related to hash table. */ #define RTE_LOGTYPE_LPM 7 /**< Log related to LPM. */ -- 2.39.1