diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2021-11-28 19:45:56 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-11-29 14:40:44 +0000 |
commit | 09ae03e2fc9d04240c21759ce9f1ef63d7651850 (patch) | |
tree | 95d1c8d77298a64040b65f2092d78fb93e98faab /drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c | |
parent | net: dsa: felix: fix flexible_array.cocci warnings (diff) | |
download | linux-dev-09ae03e2fc9d04240c21759ce9f1ef63d7651850.tar.xz linux-dev-09ae03e2fc9d04240c21759ce9f1ef63d7651850.zip |
stmmac: remove ethtool driver version info
I think there's no benefit in reporting a date from almost 6 yrs ago.
Let ethtool report the default (kernel version) instead.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c index eead45369eb9..164dff5ec32e 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c @@ -290,7 +290,6 @@ static void stmmac_ethtool_getdrvinfo(struct net_device *dev, strlcpy(info->bus_info, pci_name(priv->plat->pdev), sizeof(info->bus_info)); } - strlcpy(info->version, DRV_MODULE_VERSION, sizeof(info->version)); } static int stmmac_ethtool_get_link_ksettings(struct net_device *dev, |