diff options
author | Rami Rosen <ramirose@gmail.com> | 2009-05-20 17:26:23 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-20 17:26:23 -0700 |
commit | 04af8cf6f320031090ab6fa4600b912b0c18fb4b (patch) | |
tree | 636fce0f62c6fb50a7229bc628e187589ab46679 /net/core | |
parent | 288ddad5b095ff65812cf1060c67d23c07568871 (diff) | |
download | linux-04af8cf6f320031090ab6fa4600b912b0c18fb4b.tar.gz linux-04af8cf6f320031090ab6fa4600b912b0c18fb4b.tar.bz2 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/core')
-rw-r--r-- | net/core/fib_rules.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/fib_rules.c b/net/core/fib_rules.c index 17d9f497b797..bd309384f8b8 100644 --- a/net/core/fib_rules.c +++ b/net/core/fib_rules.c @@ -500,7 +500,7 @@ static int fib_nl_fill_rule(struct sk_buff *skb, struct fib_rule *rule, if (rule->target) NLA_PUT_U32(skb, FRA_GOTO, rule->target); - if (ops->fill(rule, skb, nlh, frh) < 0) + if (ops->fill(rule, skb, frh) < 0) goto nla_put_failure; return nlmsg_end(skb, nlh); |