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 64C3241D40; Wed, 22 Feb 2023 17:09:36 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5AC7F43024; Wed, 22 Feb 2023 17:09:30 +0100 (CET) Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) by mails.dpdk.org (Postfix) with ESMTP id 351E643004 for ; Wed, 22 Feb 2023 17:09:27 +0100 (CET) Received: by mail-pl1-f174.google.com with SMTP id e5so10344467plg.8 for ; Wed, 22 Feb 2023 08:09:27 -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=VwSWh8DzpFXHAFs6Ih4lXv1DcvVmb4dPEYloYYhVYVnt4pOqlG6W3DkTy54f6prEeN CxRrHnhT15ogFZbylgLFDQizV6Cvj5ht/QLRKEfniRxzNR9+cLdxRMnwffx5QRgzZLRF 2bI4AIjoSfIZS2H01yPL4aADu39sot5VLlG9uf7/yheuWw96G+cHzZW7k8XvmRaGk9hZ Gmn+f726dLi4hNWAK+X9cNSlHOJH+PeV7SO8vo9SBNFEGuB87nuFnmrbE5Of4YSeG1R5 XAPAvTwZ8r+i5j0rA07x1qBDv/8CvoyYBdPB0AQipbbipvJ3rvw82i2TR+/0WVTyg1De 4JUg== 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=JzQOuKFT9kBbS3EYJwx8gZnmpuUomW9dU3DbQKH6/+ZgIUBbjjOcUW2cmFhxNew0ko Ew4kgnmvRmI32+rh6dlHxfxjgd8etoIOVuhDx8KTcTatpEW9Jl5i2+VHHpP3SGitfz+5 4lstDjHtbbkZaDYPCBH77dBxoonAzQ/D1tBkIv+h1jAA4/0E81tUcyiovwH+Lw9X3rm8 8rQVJXFU1eoywA3gxDupZLpCrPv9lv243Z2xBuzpabaGQYfObzGqhK0llVXpFfiSz3Ho w+pC3VLWHxwi28j7Ha/8m+8LgkHXBN2p7DWaozNj2J5VRrImK9l9LXBGkZ5sl5hZkDx/ EHNA== X-Gm-Message-State: AO0yUKU0SJvtVoA2YSDM3Gcy4sPpW3Pc2guKGZYQkRlhTHEfe350UJ9F h/Npa7Fa7k4H2L6bgqb+Z2smIYU8tpAK9vjKoIw= X-Google-Smtp-Source: AK7set86uEzvk9ro/WyFupkFsklswU5+y0V3yLm0/uwSlHXCjPbYzNRMdeb9dw54/GTuHv0b/65Yfw== X-Received: by 2002:a05:6a20:3c89:b0:bc:63d0:d9d9 with SMTP id b9-20020a056a203c8900b000bc63d0d9d9mr10222783pzj.47.1677082166047; Wed, 22 Feb 2023 08:09:26 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id x24-20020a63db58000000b004fb71d96d78sm5063778pgi.2.2023.02.22.08.09.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Feb 2023 08:09:25 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v10 03/22] log: drop unused RTE_LOGTYPE_TIMER Date: Wed, 22 Feb 2023 08:07:43 -0800 Message-Id: <20230222160802.123611-4-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230222160802.123611-1-stephen@networkplumber.org> References: <20230207204151.1503491-1-stephen@networkplumber.org> <20230222160802.123611-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