diff options
author | Denis V. Lunev <den@openvz.org> | 2008-01-14 22:59:30 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 15:02:09 -0800 |
commit | 72132c1b6c7a7605cdfde86a9f58b6ca2b2195a6 (patch) | |
tree | 35b13af8135ad136800f39b9a7aff40082123878 /include | |
parent | 2db82b534bd52b349f1b2ab3e63aa40ca0e466ab (diff) | |
download | kernel_samsung_smdk4412-72132c1b6c7a7605cdfde86a9f58b6ca2b2195a6.zip kernel_samsung_smdk4412-72132c1b6c7a7605cdfde86a9f58b6ca2b2195a6.tar.gz kernel_samsung_smdk4412-72132c1b6c7a7605cdfde86a9f58b6ca2b2195a6.tar.bz2 |
[IPV4]: fib_rules_unregister is essentially void.
fib_rules_unregister is called only after successful register and the
return code is never checked.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/fib_rules.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/fib_rules.h b/include/net/fib_rules.h index e9a074c..4f47250 100644 --- a/include/net/fib_rules.h +++ b/include/net/fib_rules.h @@ -102,7 +102,7 @@ static inline u32 frh_get_table(struct fib_rule_hdr *frh, struct nlattr **nla) } extern int fib_rules_register(struct net *, struct fib_rules_ops *); -extern int fib_rules_unregister(struct net *, struct fib_rules_ops *); +extern void fib_rules_unregister(struct net *, struct fib_rules_ops *); extern void fib_rules_cleanup_ops(struct fib_rules_ops *); extern int fib_rules_lookup(struct fib_rules_ops *, |