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>
This commit is contained in:
parent
288ddad5b0
commit
04af8cf6f3
5 changed files with 4 additions and 5 deletions
|
@ -54,7 +54,6 @@ struct fib_rules_ops
|
|||
struct fib_rule_hdr *,
|
||||
struct nlattr **);
|
||||
int (*fill)(struct fib_rule *, struct sk_buff *,
|
||||
struct nlmsghdr *,
|
||||
struct fib_rule_hdr *);
|
||||
u32 (*default_pref)(struct fib_rules_ops *ops);
|
||||
size_t (*nlmsg_payload)(struct fib_rule *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue