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 D9AB241CF1; Tue, 21 Feb 2023 00:36:16 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 02BDC43127; Tue, 21 Feb 2023 00:36:08 +0100 (CET) Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) by mails.dpdk.org (Postfix) with ESMTP id C4C504311E for ; Tue, 21 Feb 2023 00:36:01 +0100 (CET) Received: by mail-pf1-f171.google.com with SMTP id e24so1532435pfn.3 for ; Mon, 20 Feb 2023 15:36:01 -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=dBS9bFhmgDL1yny7CKppH4pM2kBJZqGFcTg2XMhMtSGbLOqXH7/Bq4KI2W09VWY3SF c2MUiMCYoGkacH8Vyu1jo08JrEbOVykJWquGVnQwpTVwFT6YAcEAu3Wy2s0DNP7PjGEk /O9oOXImOmI8UA81rZrOQanEJVZXuJuyViad5PeJ+HfA09TOVVZOx9igdF9AoP5hKd5L 55kYQwL/OzGqbudRW12SbBA+lfBpkDMBQkQAfLyRxCYXhDbkhImlMV7PcBkzZ0vScxuA 3R5ymXnAuQwkHipPKZoUNu8hpqU/l9fn/TkvXRfHflvOryQVFacYHDzUEsK95r6V46th d5QA== 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=6pIZ1v1JHZ32PN4TGinmPKIozaOeBYUUqtP3e+gdvw2rPSNZSxCqytGAAM0FnuOw8K ZvXyiOAPJm8LnuxtYsTTBWmHc9kVgJvzPsZAhawF27WW61GmRi+yelvc23k8wDO+5Uip heFsN/F1AJZD0d7FXNmusuGLE5OX44QaWOybtu00lHXHxWU4aG72PI1ZXmzfno4MkZvt 9qlOFhLTYA5TaEQxEuVjsSc3iZUmPrc9NIMAWvbpkUPAcvL+0iKhe+UQzO0qGYZ1TTic XeoU1CklVKp+165kyezxAjuYtHZL81Te4/JXSs9FxCmp09okhuXNW1RcGO1/NfXVYita lnxQ== X-Gm-Message-State: AO0yUKUvapljyzZS8jG/6bqwyelakiR31FjVjJFnw9p0Cj9s1LXGvYy0 gP0NcvzDavdgCzMQzVuGHWIGWpD7XO8qElO7sAk= X-Google-Smtp-Source: AK7set/EyRXhBw2oxxnUtGHIBZzmCdsUATPrx29sKlL7JPJOcrjLjNIh+QH6vouLP6/T4BFADB8e8Q== X-Received: by 2002:a62:7988:0:b0:5a9:c75f:bcc4 with SMTP id u130-20020a627988000000b005a9c75fbcc4mr2507741pfc.25.1676936160749; Mon, 20 Feb 2023 15:36:00 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id q19-20020a62e113000000b005a8dc935ec1sm8215908pfh.62.2023.02.20.15.35.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Feb 2023 15:36:00 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v8 03/22] log: drop unused RTE_LOGTYPE_TIMER Date: Mon, 20 Feb 2023 15:35:37 -0800 Message-Id: <20230220233556.168553-4-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230220233556.168553-1-stephen@networkplumber.org> References: <20230207204151.1503491-1-stephen@networkplumber.org> <20230220233556.168553-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