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 E842241C33; Tue, 7 Feb 2023 21:44:42 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 390A1427F2; Tue, 7 Feb 2023 21:44:40 +0100 (CET) Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) by mails.dpdk.org (Postfix) with ESMTP id 0449540151 for ; Tue, 7 Feb 2023 21:44:38 +0100 (CET) Received: by mail-pj1-f42.google.com with SMTP id n20-20020a17090aab9400b00229ca6a4636so23640pjq.0 for ; Tue, 07 Feb 2023 12:44:37 -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=GIMSgfTBOj+vQk3gSiv/yGf4cz0pnunvKG2MyO/VpIw=; b=EgSylNMHwlCbVLdkwZfLoj4R5aJF+TE+wPBI01OOufDWR0obu+LEOZF9fUe7BJEUld TjKoZFLmfVmGnLFhVgJfpknXcm2HuGVvPZ4UkcsMBZI4Vco4SoV5Ap3U2nhM888Vjdai s/TJFG202sSr86v42wYqj/nq4vHWp56yM4JhsZd8lQ7airtVUAe0E4/8AiZmQoMnuM1/ kQByRzW9GdmrYErtaVPSb3Aj2gPuLxSaJop94SoFVCHh0JGW26neY1is7l7U0nuzttPU PsN8Hsh9FIMfysj9F5yq5McOYbdtmiWxaoQZdL8KV9iVEiG/BhTR8yFlCcZol9syeRLG 1KTw== 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=GIMSgfTBOj+vQk3gSiv/yGf4cz0pnunvKG2MyO/VpIw=; b=MARyQHjB6Mqn5oFHGrfPKozr3ElndFeotYVAZFQCJp74nnCM6jnGV99XzT7GQxljIF 95c362RJ6MaonQ8OC/pzT3uvSoNfa7GAW+KggSGEzbOesTbIo8VevMlR1Nn2yUuMgOYC mHUIgeyjL6QxFDzsQW4VDaxx61ty3Dze/adedihPwTMtXydSAqljtuHJzF7ApqbdIzZT mztn44gIsceNZ5vg57sLw27xp8khkeQ0v+qWXTSf0rxExkkHqZhUXDquqauQk80EaQ/h fp70KZq45Iy6CK9lxkjfq7N9TPJtOnOHKcuOg6QRJsGov97JIUr70HVK5T6bFHE1IImm 6oZg== X-Gm-Message-State: AO0yUKW3P+TPsH3HBIrlGd7BryAxVIAVbjmqWELb5vW/JqRZR2IrkPAG iFgDwxJojpvWd4Vw5U7J2QP/quV+HKdA5z3OrrA= X-Google-Smtp-Source: AK7set9jIjyHOhuaZkDy+iq009RYlrwJN4wTNBcvvPtCKrtGxXXvZ9eHbTKC4SyL82LxZd1UCp04WA== X-Received: by 2002:a17:903:32c7:b0:199:2bbc:41b2 with SMTP id i7-20020a17090332c700b001992bbc41b2mr5360766plr.17.1675802676809; Tue, 07 Feb 2023 12:44:36 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id jk24-20020a170903331800b00194ab9a4febsm4725562plb.74.2023.02.07.12.44.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Feb 2023 12:44:36 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [RFC 03/13] log: drop unused RTE_LOGTYPE_TIMER Date: Tue, 7 Feb 2023 12:41:41 -0800 Message-Id: <20230207204151.1503491-4-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230207204151.1503491-1-stephen@networkplumber.org> References: <20230207204151.1503491-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 --- 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