projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drivers/net: get rid of unnecessary initializations in .get_drvinfo()
[cascardo/linux.git]
/
drivers
/
net
/
ethernet
/
amd
/
xgbe
/
xgbe-ethtool.c
diff --git
a/drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c
b/drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c
index
204fb3a
..
6040293
100644
(file)
--- a/
drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c
+++ b/
drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c
@@
-375,7
+375,6
@@
static void xgbe_get_drvinfo(struct net_device *netdev,
XGMAC_GET_BITS(hw_feat->version, MAC_VR, USERVER),
XGMAC_GET_BITS(hw_feat->version, MAC_VR, DEVID),
XGMAC_GET_BITS(hw_feat->version, MAC_VR, SNPSVER));
- drvinfo->n_stats = XGBE_STATS_COUNT;
}
static u32 xgbe_get_msglevel(struct net_device *netdev)