summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/dnet.c
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2020-03-01 17:44:49 +0300
committerDavid S. Miller <davem@davemloft.net>2020-03-04 04:54:55 +0300
commit672c88dbb69d44d6380eb2b0e5e71b4974440cfb (patch)
tree56cb2b0cea65ac7aada50fca17f1ceee1b2c80ac /drivers/net/ethernet/dnet.c
parent02ff70b292f32346335e39546a97639393296fd0 (diff)
downloadlinux-672c88dbb69d44d6380eb2b0e5e71b4974440cfb.tar.xz
net/dnet: Delete static version from the driver
Remove static driver version from the ethtool output. Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/dnet.c')
-rw-r--r--drivers/net/ethernet/dnet.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/dnet.c b/drivers/net/ethernet/dnet.c
index 5f8fa1145db6..057a508dd6e2 100644
--- a/drivers/net/ethernet/dnet.c
+++ b/drivers/net/ethernet/dnet.c
@@ -729,7 +729,6 @@ static void dnet_get_drvinfo(struct net_device *dev,
struct ethtool_drvinfo *info)
{
strlcpy(info->driver, DRV_NAME, sizeof(info->driver));
- strlcpy(info->version, DRV_VERSION, sizeof(info->version));
strlcpy(info->bus_info, "0", sizeof(info->bus_info));
}