Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b8b867e1 authored by stephen hemminger's avatar stephen hemminger Committed by David S. Miller
Browse files

rtnetlink: remove unused ifla_stats_policy



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

Signed-off-by: default avatarStephen Hemminger <stephen@networkplumber.org>
Acked-by: default avatarRoopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a349fcc8
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -3669,10 +3669,6 @@ static int rtnl_fill_statsinfo(struct sk_buff *skb, struct net_device *dev,
	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)
{