summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-08-07 21:56:52 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-22 14:54:09 -0700
commit0298f36a579b5bd7f10f6f6d57e5929977a865a1 (patch)
tree090ba1183c598a5e7f65e89998538f3917d7f093
parent8423a9aadfaa135fd5fd1ab8bbd4a1e76b4143c9 (diff)
downloadop-kernel-dev-0298f36a579b5bd7f10f6f6d57e5929977a865a1.zip
op-kernel-dev-0298f36a579b5bd7f10f6f6d57e5929977a865a1.tar.gz
[IPV4]: Kill fib4_rules_clean().
As noted by Adrian Bunk this function is totally unused. Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--include/net/ip_fib.h1
-rw-r--r--net/ipv4/fib_rules.c5
2 files changed, 0 insertions, 6 deletions
diff --git a/include/net/ip_fib.h b/include/net/ip_fib.h
index 14c82e6..adf7358 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);
extern int fib4_rules_dump(struct sk_buff *skb, struct netlink_callback *cb);
extern void __init fib4_rules_init(void);
-extern void __exit fib4_rules_cleanup(void);
#ifdef CONFIG_NET_CLS_ROUTE
extern u32 fib_rules_tclass(struct fib_result *res);
diff --git a/net/ipv4/fib_rules.c b/net/ipv4/fib_rules.c
index 03d1e8a..d242e52 100644
--- a/net/ipv4/fib_rules.c
+++ b/net/ipv4/fib_rules.c
@@ -347,8 +347,3 @@ void __init fib4_rules_init(void)
fib_rules_register(&fib4_rules_ops);
}
-
-void __exit fib4_rules_cleanup(void)
-{
- fib_rules_unregister(&fib4_rules_ops);
-}
OpenPOWER on IntegriCloud