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 806DB41C8C; Mon, 13 Feb 2023 20:59:42 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1CA5F42D47; Mon, 13 Feb 2023 20:59:35 +0100 (CET) Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) by mails.dpdk.org (Postfix) with ESMTP id 5FE3942D42 for ; Mon, 13 Feb 2023 20:59:34 +0100 (CET) Received: by mail-pj1-f48.google.com with SMTP id d2so12964277pjd.5 for ; Mon, 13 Feb 2023 11:59:34 -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=05nS99mcYbniskSgFD3gurHoco4DZCl/jcenIPqnk58gufkyv9X/NE0rIN1FMRztR6 NJ9wPruHyIRsGzSByxjj8AzvK/MzZbyQ50KlDxROfbjHwPtyImWXVq11IE+pJwion5jH fhrRPk1fvwxjRtpGPuuAHn+xoh9jH2YgzWijIdOB/miHB2RStCRwO1EqF6EZ2xmkucl0 CLus0zyV0T92LcFR+CAEGlcQytasaZjZRq0kANuV4HUDZ3lbXUGxmXMU0fURF9EFqB/V zhdcqjjDm6SZjz8N8Zu2KSwSaXADYnMV8ABb4hUYDrjfDvuZLXSPbs0B425j71Te446l veRg== 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=0qSEz722zmyEP+qL5HJxVTjd0qG7QkIkVtfDhjOMr7d8TWDLkumlhYoMCix53Wm38P Fy65fUHKEljuuVy88AP/1p7C6j5AVEdTkPRlc0yMxLx5JXQqbERMNkDdePLxVutx1JaV yfjRgA3RMTCCRVGkmFTjEmLWK/H/n60eH0cylcf87YA3nhfcujj2Ra3pStuF/XU492vp Ev+l5S7PlcKywtvvYOsEucdn4+cpPHw3hFQCBDu2NnY/ZGSbCx5yrV1p4GPg398BkbEm msxfOOexbveHcwrJrvQDSVRdeKWTTXckuPOlwFiG7hUBKbJYeJmFgCmVIBQkCcnADnPv 4vtA== X-Gm-Message-State: AO0yUKXArdAF8onTskjevjSoV43mLUAzd87NYs4d8eAWgLvz3VzsKnCv 0i1vTT4IzGrPp1M02mxLCGtghRzc068ShCd0IqE= X-Google-Smtp-Source: AK7set/7PmN9pGwCXDk6Y5n46mnZiRiG0eGVoVrHMd9qckUh7VoGWGNRnnhJo1c8z21GOuTMI/M3fA== X-Received: by 2002:a17:902:c411:b0:199:49fc:610d with SMTP id k17-20020a170902c41100b0019949fc610dmr122597plk.15.1676318373330; Mon, 13 Feb 2023 11:59:33 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id n20-20020a170902d0d400b001994e74c094sm8578911pln.275.2023.02.13.11.59.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Feb 2023 11:59:32 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v4 03/19] log: drop unused RTE_LOGTYPE_TIMER Date: Mon, 13 Feb 2023 11:55:35 -0800 Message-Id: <20230213195551.1146298-4-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230213195551.1146298-1-stephen@networkplumber.org> References: <20230207204151.1503491-1-stephen@networkplumber.org> <20230213195551.1146298-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