diff options
-rw-r--r-- | include/net/ip_fib.h | 1 | ||||
-rw-r--r-- | net/ipv4/fib_rules.c | 5 |
2 files changed, 0 insertions, 6 deletions
diff --git a/include/net/ip_fib.h b/include/net/ip_fib.h index 14c82e611c95..adf73586bc05 100644 --- a/include/net/ip_fib.h +++ b/include/net/ip_fib.h | |||
@@ -254,7 +254,6 @@ extern struct fib_table *fib_hash_init(int id); | |||
254 | extern int fib4_rules_dump(struct sk_buff *skb, struct netlink_callback *cb); | 254 | extern int fib4_rules_dump(struct sk_buff *skb, struct netlink_callback *cb); |
255 | 255 | ||
256 | extern void __init fib4_rules_init(void); | 256 | extern void __init fib4_rules_init(void); |
257 | extern void __exit fib4_rules_cleanup(void); | ||
258 | 257 | ||
259 | #ifdef CONFIG_NET_CLS_ROUTE | 258 | #ifdef CONFIG_NET_CLS_ROUTE |
260 | extern u32 fib_rules_tclass(struct fib_result *res); | 259 | extern u32 fib_rules_tclass(struct fib_result *res); |
diff --git a/net/ipv4/fib_rules.c b/net/ipv4/fib_rules.c index 03d1e8a43a48..d242e5291fcc 100644 --- a/net/ipv4/fib_rules.c +++ b/net/ipv4/fib_rules.c | |||
@@ -347,8 +347,3 @@ void __init fib4_rules_init(void) | |||
347 | 347 | ||
348 | fib_rules_register(&fib4_rules_ops); | 348 | fib_rules_register(&fib4_rules_ops); |
349 | } | 349 | } |
350 | |||
351 | void __exit fib4_rules_cleanup(void) | ||
352 | { | ||
353 | fib_rules_unregister(&fib4_rules_ops); | ||
354 | } | ||