net: hns3: Remove a useless member of struct hns3_stats
authorJian Shen <shenjian15@huawei.com>
Fri, 5 Jan 2018 10:18:15 +0000 (18:18 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Jan 2018 19:06:18 +0000 (14:06 -0500)
commitb59f558c6a7ce8731035621f0b175b24ba443da1
tree59f96fa957a8eeadf736841fb03bfddf4ceed612
parent57ffee737b36dbb81e8e60a37e01791553157a5e
net: hns3: Remove a useless member of struct hns3_stats

The member "stats_size" of struct hns3_stats is useless,
remove it and fix the macro definition which has uses this
struct.

Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c