diff options
author | Rami Rosen <ramirose@gmail.com> | 2009-05-20 20:26:23 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-20 20:26:23 -0400 |
commit | 04af8cf6f320031090ab6fa4600b912b0c18fb4b (patch) | |
tree | 636fce0f62c6fb50a7229bc628e187589ab46679 /include/net/fib_rules.h | |
parent | 288ddad5b095ff65812cf1060c67d23c07568871 (diff) |
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 'include/net/fib_rules.h')
-rw-r--r-- | include/net/fib_rules.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/fib_rules.h b/include/net/fib_rules.h index b9b63395d002..ca4b2e840078 100644 --- a/include/net/fib_rules.h +++ b/include/net/fib_rules.h | |||
@@ -54,7 +54,6 @@ struct fib_rules_ops | |||
54 | struct fib_rule_hdr *, | 54 | struct fib_rule_hdr *, |
55 | struct nlattr **); | 55 | struct nlattr **); |
56 | int (*fill)(struct fib_rule *, struct sk_buff *, | 56 | int (*fill)(struct fib_rule *, struct sk_buff *, |
57 | struct nlmsghdr *, | ||
58 | struct fib_rule_hdr *); | 57 | struct fib_rule_hdr *); |
59 | u32 (*default_pref)(struct fib_rules_ops *ops); | 58 | u32 (*default_pref)(struct fib_rules_ops *ops); |
60 | size_t (*nlmsg_payload)(struct fib_rule *); | 59 | size_t (*nlmsg_payload)(struct fib_rule *); |