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 894AA41CA8; Wed, 15 Feb 2023 18:24:01 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 81E4442D35; Wed, 15 Feb 2023 18:23:54 +0100 (CET) Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by mails.dpdk.org (Postfix) with ESMTP id 93B0C42D17 for ; Wed, 15 Feb 2023 18:23:51 +0100 (CET) Received: by mail-pf1-f182.google.com with SMTP id g9so13227654pfo.5 for ; Wed, 15 Feb 2023 09:23:51 -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=yJ1Qt819RxGCySZHzSRcQV2hGZlLlG9we4oCtcm7dV9Q1jzLJcjZU7OQxXStq0u1HE FpUmkXLsO58bdRDg9ln0Yp/P60bAEVYBjMFN7/znudq1btI6JtmBmnEVpgIPLKzrNoUp bITQXFp0aJX7opKjbEaaIOAvSBwLOd8RQWZxYwsp5Jzekkx7q0Z02nwYZCwxkdUp61of Scz9/L2TUqDW1Yw4l2SNinSgGQCODkjdBTtYIi0d4zQ85EHYIe4g/iRcSFOwXh/lVH9x NeVI33vlSOGjie0YcHv7Ivz6jU3hzUfx8B/mlWG7nDf14SlqN/6DBhyNtiC7pjwxecik ODlQ== 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=QmAkxHmwjXQBx/6ozNqMynUOrWF4aTXkEd56fYlzLzPW5kp0n8LgaFcSQEOmYaquD7 B4QU0QHOyML0y1wRf98l+BcHOCeTYLBtIMK31Wk5dxkGE48SO/LFdCLfiBb7YUAE4KP1 DFHrhOszsAoG0vokakAsSXD3Iies92SjVbhQ9gq33t5CmdXUlV4XQyeC9rZl2Ip6F+fW DUbVOQJbZR+0AX99MkUn1hJUmtNHBz6iNcgMs1B+IMdXjKk0BHVcqlb2mg6SkiENb3HU tYT5YyROh42O9iKMH9jbY3v4LVIgvtwhTkiunBXhovAiq4+jxpgyeMSNaxJ+6dhYqSlA rnsQ== X-Gm-Message-State: AO0yUKUrHgYvVM5vesBGzxpwidooOYfVgk7g85L4Zsv0BqRYLszhndY/ TdbADyb3sF7avheg38u5ryxtfctz3JO4FpMSD4f3aw== X-Google-Smtp-Source: AK7set+fQ9f6vaVd6OnQHBGILXt/84waMwTNgUxFZlhezNAjwBGGLGBWv+ZruKJfZMBV94Y5+1A/6w== X-Received: by 2002:aa7:947d:0:b0:5a8:9f6f:8a77 with SMTP id t29-20020aa7947d000000b005a89f6f8a77mr2383716pfq.8.1676481830494; Wed, 15 Feb 2023 09:23:50 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id m7-20020aa79007000000b005a8da960fa8sm3705304pfo.144.2023.02.15.09.23.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Feb 2023 09:23:50 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v7 03/22] log: drop unused RTE_LOGTYPE_TIMER Date: Wed, 15 Feb 2023 09:23:22 -0800 Message-Id: <20230215172341.1525320-4-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230215172341.1525320-1-stephen@networkplumber.org> References: <20230207204151.1503491-1-stephen@networkplumber.org> <20230215172341.1525320-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