diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2020-02-24 10:52:58 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-02-24 11:23:37 -0800 |
commit | 070663fff8ee310b439009c025ad83cfe5e0fd4a (patch) | |
tree | b34921da447d1d6af8c2261b94faceb457c126ac /drivers/net | |
parent | 1434ae956a0b9089a295ebecf16c644deb8f3b99 (diff) | |
download | linux-070663fff8ee310b439009c025ad83cfe5e0fd4a.tar.bz2 |
net/aeroflex: Clean ethtool_info struct assignments
If FW version is not available, it is enough to leave that field as
empty, there is no need to write N/A.
The driver version is replaced in favor of generally available
in-tree variant.
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/aeroflex/greth.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/aeroflex/greth.c b/drivers/net/ethernet/aeroflex/greth.c index 2a9f8643629c..198f1544e271 100644 --- a/drivers/net/ethernet/aeroflex/greth.c +++ b/drivers/net/ethernet/aeroflex/greth.c @@ -1114,7 +1114,6 @@ static void greth_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *in strlcpy(info->driver, dev_driver_string(greth->dev), sizeof(info->driver)); - strlcpy(info->version, "revision: 1.0", sizeof(info->version)); strlcpy(info->bus_info, greth->dev->bus->name, sizeof(info->bus_info)); strlcpy(info->fw_version, "N/A", sizeof(info->fw_version)); } |