[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160907135736.7a986302@xeon-e3>
Date: Wed, 7 Sep 2016 13:57:36 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org
Subject: [PATCH net-next] rtnetlink: remove unused ifla_stats_policy
This structure is defined but never used. Flagged with W=1
Signed-off-by: Stephen Hemminger <stephen@...workplumber.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)
{
Powered by blists - more mailing lists