diff mbox series

[net-next] net: neigh: remove unused NEIGH_SYSCTL_MS_JIFFIES_ENTRY

Message ID 1582181342-6498-1-git-send-email-lirongqing@baidu.com
State Accepted
Delegated to: David Miller
Headers show
Series [net-next] net: neigh: remove unused NEIGH_SYSCTL_MS_JIFFIES_ENTRY | expand

Commit Message

Li RongQing Feb. 20, 2020, 6:49 a.m. UTC
this macro is never used, so remove it

Signed-off-by: Li RongQing <lirongqing@baidu.com>
---
 net/core/neighbour.c | 3 ---
 1 file changed, 3 deletions(-)

Comments

David Miller Feb. 20, 2020, 6:02 p.m. UTC | #1
From: Li RongQing <lirongqing@baidu.com>
Date: Thu, 20 Feb 2020 14:49:02 +0800

> this macro is never used, so remove it
> 
> Signed-off-by: Li RongQing <lirongqing@baidu.com>

Applied.
diff mbox series

Patch

diff --git a/net/core/neighbour.c b/net/core/neighbour.c
index 789a73aa7bd8..5bf8d22a47ec 100644
--- a/net/core/neighbour.c
+++ b/net/core/neighbour.c
@@ -3553,9 +3553,6 @@  static int neigh_proc_base_reachable_time(struct ctl_table *ctl, int write,
 #define NEIGH_SYSCTL_USERHZ_JIFFIES_ENTRY(attr, name) \
 	NEIGH_SYSCTL_ENTRY(attr, attr, name, 0644, neigh_proc_dointvec_userhz_jiffies)
 
-#define NEIGH_SYSCTL_MS_JIFFIES_ENTRY(attr, name) \
-	NEIGH_SYSCTL_ENTRY(attr, attr, name, 0644, neigh_proc_dointvec_ms_jiffies)
-
 #define NEIGH_SYSCTL_MS_JIFFIES_REUSED_ENTRY(attr, data_attr, name) \
 	NEIGH_SYSCTL_ENTRY(attr, data_attr, name, 0644, neigh_proc_dointvec_ms_jiffies)