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 DEA6841C34; Wed, 8 Feb 2023 00:05:33 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EAF7342D35; Wed, 8 Feb 2023 00:05:12 +0100 (CET) Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) by mails.dpdk.org (Postfix) with ESMTP id 1A86B42D30 for ; Wed, 8 Feb 2023 00:05:12 +0100 (CET) Received: by mail-pl1-f180.google.com with SMTP id g13so12517074ple.10 for ; Tue, 07 Feb 2023 15:05:12 -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=UPtCDG0D5nzLcLmm+TqbH2Ry/IqpvLKXmxojNPcvGac=; b=XvK1MFtBPbv5Gl8mpN0vFLNitU+UqDh+zUfWR1U1aNrd3S3VwhDbQ6CLorx4h00Ej7 iomujLmjrZyvx3p7EaszicVtO0+TlvYMab4wmUFhQde+CWG7vP6rSeY+RLyV+PrHbrfh JkJUjYz8aJeyCWD03bpp98Bgg/9EEpBT8mQahMoSbxR1CjCMOpVnSWwpJE4wBs2Lk7LX dafv9tVEmbGGcUjbiqzyXi20599jmaC3KdQxD/LR6CA0p44NbNWV0al11OpQatkYFOc9 cfx48fMeyfHViAqH5rPwZokzIb5GR+F8oIoczv9/a7iX51wYD/hLh+8+y8s7lC5GjasI aOeg== 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=UPtCDG0D5nzLcLmm+TqbH2Ry/IqpvLKXmxojNPcvGac=; b=TmaufR/ii0Jx+o9X1mPibzPgjS5MCpgqt9M99mNC5Matyd40FrGCoUrERgIOCQb8Vd o4x4z3ee7cz9/HdaoB2yDdLSpqeD68b/BGf+mLZ3/p5bXiLD7PeI0EeANTiZMzqUs1mB c9UyVMul6i016TztFySe7BI0XAEFq6h4lzXJnkRlmZgYUBbkSnxTT3CuU6fD7bZsmFFc utTEV2okjoWsXyWE67mxfG3N/zgnp87x7Yd3B8cPjBSM5T8QRDelDWOJfYiczEUzPh00 RjI0JhkO5ArT4zPu9Jnucaq8t+NAPtIOxBb6PEy7T8GEGn+wYmB0CHDA9PTNETLiorQk SmdQ== X-Gm-Message-State: AO0yUKUqvKJPl0H592N5jqVLI1BGbFeaKkiJPMUDiT412ipBlSBSGN6I cv84a4Tdp4RXq9TlP9G1j5RaFR2d7pCjlBjlFFM= X-Google-Smtp-Source: AK7set/gBmgPIM1xAIk8mXBm6dY66wQgLiFSf1MXIhkJBBvIIlnA/rhBX4sje/h7Ozekq4MnFYIClg== X-Received: by 2002:a17:90b:4c47:b0:225:e88c:33c2 with SMTP id np7-20020a17090b4c4700b00225e88c33c2mr6072336pjb.7.1675811111065; Tue, 07 Feb 2023 15:05:11 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id gq17-20020a17090b105100b0020dc318a43esm71189pjb.25.2023.02.07.15.05.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Feb 2023 15:05:10 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [RFC v2 06/17] log: drop unused RTE_LOGTYPE_TIMER Date: Tue, 7 Feb 2023 15:04:27 -0800 Message-Id: <20230207230438.1617331-7-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230207230438.1617331-1-stephen@networkplumber.org> References: <20230207204151.1503491-1-stephen@networkplumber.org> <20230207230438.1617331-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 c369154cb1ea..e7ccde1c9ccd 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 97d6b26a9967..361d1ad96299 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