Thread (4 messages) 4 messages, 3 authors, 2016-09-09

[PATCH net-next] rtnetlink: remove unused ifla_stats_policy

flat view
STALE3687d

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2016-09-07 20:57:27

This structure is defined but never used. Flagged with W=1

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
--- a/net/core/rtnetlink.c	2016-09-07 13:55:17.030107744 -0700
+++ b/net/core/rtnetlink.c	2016-09-07 13:55:45.190236855 -0700
@@ -3669,10 +3669,6 @@ nla_put_failure:
 	return -EMSGSIZE;
 }
 
-static const struct nla_policy ifla_stats_policy[IFLA_STATS_MAX + 1] = {
-	[IFLA_STATS_LINK_64]	= { .len = sizeof(struct rtnl_link_stats64) },
-};
-
 static size_t if_nlmsg_stats_size(const struct net_device *dev,
 				  u32 filter_mask)
 {
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help