diff options
Diffstat (limited to 'net/decnet/dn_rules.c')
-rw-r--r-- | net/decnet/dn_rules.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/net/decnet/dn_rules.c b/net/decnet/dn_rules.c index b7dfd04a9638..e32d0c3d5a96 100644 --- a/net/decnet/dn_rules.c +++ b/net/decnet/dn_rules.c | |||
@@ -241,12 +241,6 @@ static u32 dn_fib_rule_default_pref(void) | |||
241 | return 0; | 241 | return 0; |
242 | } | 242 | } |
243 | 243 | ||
244 | static size_t dn_fib_rule_nlmsg_payload(struct fib_rule *rule) | ||
245 | { | ||
246 | return nla_total_size(2) /* dst */ | ||
247 | + nla_total_size(2); /* src */ | ||
248 | } | ||
249 | |||
250 | int dn_fib_dump_rules(struct sk_buff *skb, struct netlink_callback *cb) | 244 | int dn_fib_dump_rules(struct sk_buff *skb, struct netlink_callback *cb) |
251 | { | 245 | { |
252 | return fib_rules_dump(skb, cb, AF_DECnet); | 246 | return fib_rules_dump(skb, cb, AF_DECnet); |