diff options
author | Rami Rosen <ramirose@gmail.com> | 2009-05-21 02:26:23 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-21 02:26:23 +0200 |
commit | 04af8cf6f320031090ab6fa4600b912b0c18fb4b (patch) | |
tree | 636fce0f62c6fb50a7229bc628e187589ab46679 /net/ipv6/fib6_rules.c | |
parent | syscall: Sort out syscall_restart name clash. (diff) | |
download | linux-04af8cf6f320031090ab6fa4600b912b0c18fb4b.tar.xz linux-04af8cf6f320031090ab6fa4600b912b0c18fb4b.zip |
net: Remove unused parameter from fill method in fib_rules_ops.
The netlink message header (struct nlmsghdr) is an unused parameter in
fill method of fib_rules_ops struct. This patch removes this
parameter from this method and fixes the places where this method is
called.
(include/net/fib_rules.h)
Signed-off-by: Rami Rosen <ramirose@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/fib6_rules.c')
-rw-r--r-- | net/ipv6/fib6_rules.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/fib6_rules.c b/net/ipv6/fib6_rules.c index e1a36dbb5a27..00a7a5e4ac97 100644 --- a/net/ipv6/fib6_rules.c +++ b/net/ipv6/fib6_rules.c @@ -211,7 +211,7 @@ static int fib6_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, } static int fib6_rule_fill(struct fib_rule *rule, struct sk_buff *skb, - struct nlmsghdr *nlh, struct fib_rule_hdr *frh) + struct fib_rule_hdr *frh) { struct fib6_rule *rule6 = (struct fib6_rule *) rule; |