Skip to content

Commit

Permalink
[IPV4]: Kill fib4_rules_clean().
Browse files Browse the repository at this point in the history
As noted by Adrian Bunk this function is totally unused.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Sep 22, 2006
1 parent 8423a9a commit 0298f36
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion include/net/ip_fib.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
5 changes: 0 additions & 5 deletions net/ipv4/fib_rules.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit 0298f36

Please sign in to comment.