[PATCH net-next] net/tls: Remove the __TLS_DEC_STATS() macro.

Subsystems: networking [general], networking [tls], the rest

STALE1872d

2 messages, 2 authors, 2021-06-23 · open the first message on its own page

[PATCH net-next] net/tls: Remove the __TLS_DEC_STATS() macro.

From: Kuniyuki Iwashima <hidden>
Date: 2021-06-23 06:07:06

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 <redacted>
---
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

Re: [PATCH net-next] net/tls: Remove the __TLS_DEC_STATS() macro.

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-06-23 21:00:08

Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Wed, 23 Jun 2021 15:06:34 +0900 you wrote:
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 <redacted>
---
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.

[...]
Here is the summary with links:
  - [net-next] net/tls: Remove the __TLS_DEC_STATS() macro.
    https://git.kernel.org/netdev/net-next/c/10ed7ce42b13

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help