drivers: net: xgene: Remove redundant local stats
authorQuan Nguyen <qnguyen@apm.com>
Wed, 10 May 2017 20:45:02 +0000 (13:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 May 2017 15:41:08 +0000 (11:41 -0400)
commit3f5a2ef1825db4079bef945d33c84a230cdbba32
treeb47d6fa0a72658053b399cc846f7c7e51130f36c
parentd09d3629b6f60bd5df5303eb2f4b26c52571388a
drivers: net: xgene: Remove redundant local stats

Commit 5944701df90d ("net: remove useless memset's in drivers get_stats64")
makes the pdata->stats redundant. This patch removes pdata->stats and
updates get_stats64() callback accordingly.

Signed-off-by: Quan Nguyen <qnguyen@apm.com>
Signed-off-by: Iyappan Subramanian <isubramanian@apm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/apm/xgene/xgene_enet_ethtool.c
drivers/net/ethernet/apm/xgene/xgene_enet_main.c
drivers/net/ethernet/apm/xgene/xgene_enet_main.h