diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2020-03-01 16:44:39 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-03 17:54:54 -0800 |
commit | b2c1e1d5a4eff747d9d752ebc36330bff9582e4f (patch) | |
tree | dcd944227959b6bbb3b78572d1f4ea73946b1a2e /drivers/net/ethernet/cavium/thunder | |
parent | d4bb38156fe60288064d8a3a16d67ad18a9e62f8 (diff) | |
download | linux-stable-b2c1e1d5a4eff747d9d752ebc36330bff9582e4f.tar.gz linux-stable-b2c1e1d5a4eff747d9d752ebc36330bff9582e4f.tar.bz2 linux-stable-b2c1e1d5a4eff747d9d752ebc36330bff9582e4f.zip |
net/cavium: Clean driver versions
Delete driver and module versions in favor of global
linux kernel variant.
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cavium/thunder')
-rw-r--r-- | drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c b/drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c index 5e0b16bb95a0..83dabcffc789 100644 --- a/drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c +++ b/drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c @@ -16,7 +16,6 @@ #include "../common/cavium_ptp.h" #define DRV_NAME "nicvf" -#define DRV_VERSION "1.0" struct nicvf_stat { char name[ETH_GSTRING_LEN]; @@ -192,7 +191,6 @@ static void nicvf_get_drvinfo(struct net_device *netdev, struct nicvf *nic = netdev_priv(netdev); strlcpy(info->driver, DRV_NAME, sizeof(info->driver)); - strlcpy(info->version, DRV_VERSION, sizeof(info->version)); strlcpy(info->bus_info, pci_name(nic->pdev), sizeof(info->bus_info)); } |