]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - net/ipv4/fib_frontend.c
Merge tag 'hyperv-next-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/hyper...
[linux.git] / net / ipv4 / fib_frontend.c
index 71c78d223dfd32b1b95ee9e9aeffdaa95fd1a8c6..577db1d50a24ae0aba16023f846981425d08e59b 100644 (file)
@@ -70,11 +70,6 @@ static int __net_init fib4_rules_init(struct net *net)
        fib_free_table(main_table);
        return -ENOMEM;
 }
-
-static bool fib4_has_custom_rules(struct net *net)
-{
-       return false;
-}
 #else
 
 struct fib_table *fib_new_table(struct net *net, u32 id)
@@ -131,11 +126,6 @@ struct fib_table *fib_get_table(struct net *net, u32 id)
        }
        return NULL;
 }
-
-static bool fib4_has_custom_rules(struct net *net)
-{
-       return net->ipv4.fib_has_custom_rules;
-}
 #endif /* CONFIG_IP_MULTIPLE_TABLES */
 
 static void fib_replace_table(struct net *net, struct fib_table *old,