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>
This commit is contained in:
committed by
David S. Miller
parent
dcad856fe5
commit
09ae03e2fc
@@ -10,7 +10,6 @@
|
|||||||
#define __STMMAC_H__
|
#define __STMMAC_H__
|
||||||
|
|
||||||
#define STMMAC_RESOURCE_NAME "stmmaceth"
|
#define STMMAC_RESOURCE_NAME "stmmaceth"
|
||||||
#define DRV_MODULE_VERSION "Jan_2016"
|
|
||||||
|
|
||||||
#include <linux/clk.h>
|
#include <linux/clk.h>
|
||||||
#include <linux/hrtimer.h>
|
#include <linux/hrtimer.h>
|
||||||
|
|||||||
@@ -290,7 +290,6 @@ static void stmmac_ethtool_getdrvinfo(struct net_device *dev,
|
|||||||
strlcpy(info->bus_info, pci_name(priv->plat->pdev),
|
strlcpy(info->bus_info, pci_name(priv->plat->pdev),
|
||||||
sizeof(info->bus_info));
|
sizeof(info->bus_info));
|
||||||
}
|
}
|
||||||
strlcpy(info->version, DRV_MODULE_VERSION, sizeof(info->version));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int stmmac_ethtool_get_link_ksettings(struct net_device *dev,
|
static int stmmac_ethtool_get_link_ksettings(struct net_device *dev,
|
||||||
|
|||||||
Reference in New Issue
Block a user