From 807ea87032c491260bbf5fe6f5c62ec9187d2e8f Mon Sep 17 00:00:00 2001 From: Li RongQing Date: Thu, 20 Feb 2020 14:50:19 +0800 Subject: net: remove unused macro from fib_trie.c TNODE_KMALLOC_MAX and VERSION are not used, so remove them Signed-off-by: Li RongQing Signed-off-by: David S. Miller --- net/ipv4/fib_trie.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'net/ipv4/fib_trie.c') diff --git a/net/ipv4/fib_trie.c b/net/ipv4/fib_trie.c index ff0c24371e33..f4c2ac445b3f 100644 --- a/net/ipv4/fib_trie.c +++ b/net/ipv4/fib_trie.c @@ -35,9 +35,6 @@ * Paul E. McKenney * Patrick McHardy */ - -#define VERSION "0.409" - #include #include #include @@ -304,8 +301,6 @@ static inline void alias_free_mem_rcu(struct fib_alias *fa) call_rcu(&fa->rcu, __alias_free_mem); } -#define TNODE_KMALLOC_MAX \ - ilog2((PAGE_SIZE - TNODE_SIZE(0)) / sizeof(struct key_vector *)) #define TNODE_VMALLOC_MAX \ ilog2((SIZE_MAX - TNODE_SIZE(0)) / sizeof(struct key_vector *)) -- cgit