Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5373530pxj; Tue, 22 Jun 2021 23:09:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxvI8zdzjZMhWFCKjdN/vYYqX7NU9HdTQwEqnQqoIyVSR18aMICoSFbeEZbq7QDwjvRIGuX X-Received: by 2002:a17:906:85b:: with SMTP id f27mr8136314ejd.50.1624428571690; Tue, 22 Jun 2021 23:09:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624428571; cv=none; d=google.com; s=arc-20160816; b=yr0R7cUoNAZch5eSAiVOD8e8v94Iopw4MKG1TGUr24n7dyMG6SUs1oM8XZF5EuH4Rq elZ1hAMw9DUVKfo8rWwXvCXzRVr82HAxUNFaAQuBNzndbzE5nplpMmxjWaFj3DjQswPe a9K436IDOCuYbSWg9sAwNbsAxU+Se3OmxLhmjeIbkGAtdPxqM8ZcGWpBwFcoPMUyNhD4 pQHcu9bvBfYO75m8M4GJn627QSf6nn/pFkYqPlTsGJNTpFKKa9hgjNfY1RUqDYeot1Un sHJIzp+zaq01NAW4DHI/31POLtyszPAIWUno/s8k7LOPSoV2Ii+JhbxwnFwk6Iiy/NfD wRzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=YCtpVTQAaNY+hgGVKdr0kJYx/uxBrYXjRLRe3p6CJqg=; b=LnQEV+n8YiI6WU1D+ggJN2SU2CcK1FiPeTcdMAOiofzE/7QMZcBhJCy+XoNo4RInTg 7+mxVYdDseFCZeK2XJLkt7Xa/shssRN5/HxsXcATo4T2DbUHuhNjbgIvygPMsAvgFZn9 WfitscUh2Di5wWjUf1ZvriABu8/ySM14fegF5umvFDN9vKSZv71B2wyULSZhm2ULNw/V ZF+LE8EB4nCL8U+is4xGIZEVAfk79w4zY2/Uuhdf7289KeWzyBN/pceks+fdn0G5VYWY USoIQeT6ylo40VBl9VuXT7Js1STm5HaM2sG50oW/kUs8gA+pXMf9xnwvfG1BneC7Mluw lfag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.co.jp header.s=amazon201209 header.b=TjKeW12D; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.co.jp Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ba6si6611406edb.566.2021.06.22.23.09.09; Tue, 22 Jun 2021 23:09:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.co.jp header.s=amazon201209 header.b=TjKeW12D; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.co.jp Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229924AbhFWGJV (ORCPT + 99 others); Wed, 23 Jun 2021 02:09:21 -0400 Received: from smtp-fw-4101.amazon.com ([72.21.198.25]:54880 "EHLO smtp-fw-4101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229896AbhFWGJU (ORCPT ); Wed, 23 Jun 2021 02:09:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.co.jp; i=@amazon.co.jp; q=dns/txt; s=amazon201209; t=1624428424; x=1655964424; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=YCtpVTQAaNY+hgGVKdr0kJYx/uxBrYXjRLRe3p6CJqg=; b=TjKeW12Djx7IUHLQ+8ZksD5Xu0N2DHCMVYtdQO3+wgTs5p4ZCO82la5c jaVUZ//QvMyTP8k3elCniUflsiroU4sZcfkNt+SzXpb6OpsVW94gGwtFg F2DILhfC3phyZMq/3bLj7myG4hlf6PiRu/JU50MLQq9sg9+/IhE8vHeJl E=; X-IronPort-AV: E=Sophos;i="5.83,293,1616457600"; d="scan'208";a="116186703" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-2b-8cc5d68b.us-west-2.amazon.com) ([10.43.8.6]) by smtp-border-fw-4101.iad4.amazon.com with ESMTP; 23 Jun 2021 06:07:03 +0000 Received: from EX13MTAUWB001.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan3.pdx.amazon.com [10.236.137.198]) by email-inbound-relay-2b-8cc5d68b.us-west-2.amazon.com (Postfix) with ESMTPS id 9A207A1880; Wed, 23 Jun 2021 06:07:01 +0000 (UTC) Received: from EX13D04ANC001.ant.amazon.com (10.43.157.89) by EX13MTAUWB001.ant.amazon.com (10.43.161.207) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Wed, 23 Jun 2021 06:07:00 +0000 Received: from 88665a182662.ant.amazon.com (10.43.162.36) by EX13D04ANC001.ant.amazon.com (10.43.157.89) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Wed, 23 Jun 2021 06:06:57 +0000 From: Kuniyuki Iwashima To: , , Boris Pismenny , John Fastabend , "Daniel Borkmann" , Jakub Kicinski , "David S. Miller" CC: Kuniyuki Iwashima , Kuniyuki Iwashima Subject: [PATCH net-next] net/tls: Remove the __TLS_DEC_STATS() macro. Date: Wed, 23 Jun 2021 15:06:34 +0900 Message-ID: <20210623060634.1909-1-kuniyu@amazon.co.jp> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.43.162.36] X-ClientProxiedBy: EX13P01UWA002.ant.amazon.com (10.43.160.46) To EX13D04ANC001.ant.amazon.com (10.43.157.89) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The commit d26b698dd3cd ("net/tls: add skeleton of MIB statistics") introduced __TLS_DEC_STATS(), but it is not used and __SNMP_DEC_STATS() is not defined also. Let's remove it. Signed-off-by: Kuniyuki Iwashima --- The commit d26b698dd3cd does not contain a bug, so I think Fixes tag is not necessary and post this to net-next. But if the tag is needed, I'll respin to the net tree with the tag, so please let me know. --- include/net/tls.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/net/tls.h b/include/net/tls.h index 8341a8d1e807..8d398a5de3ee 100644 --- a/include/net/tls.h +++ b/include/net/tls.h @@ -79,8 +79,6 @@ __SNMP_INC_STATS((net)->mib.tls_statistics, field) #define TLS_INC_STATS(net, field) \ SNMP_INC_STATS((net)->mib.tls_statistics, field) -#define __TLS_DEC_STATS(net, field) \ - __SNMP_DEC_STATS((net)->mib.tls_statistics, field) #define TLS_DEC_STATS(net, field) \ SNMP_DEC_STATS((net)->mib.tls_statistics, field) -- 2.30.2