Subject: [PATCH net-next] rtnetlink: remove unused ifla_stats_policy

From: Stephen Hemminger <[email-masked]>
Date: Wed, 7 Sep 2016 13:57:36 -0700

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

Signed-off-by: Stephen Hemminger <[email-masked]>

--- 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)
 {