Subject: [PATCH net-next 16/23] net/dnet: Delete static version from the driver

From: Leon Romanovsky <[email-masked]>
Date: Sun, 1 Mar 2020 16:44:49 +0200

From: Leon Romanovsky <[email-masked]>

Remove static driver version from the ethtool output.

Signed-off-by: Leon Romanovsky <[email-masked]>
---
 drivers/net/ethernet/dnet.c | 1 -
 drivers/net/ethernet/dnet.h | 1 -
 2 files changed, 2 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));
 }
 
diff --git a/drivers/net/ethernet/dnet.h b/drivers/net/ethernet/dnet.h
index 8af6c0705ab3..030724484b49 100644
--- a/drivers/net/ethernet/dnet.h
+++ b/drivers/net/ethernet/dnet.h
@@ -8,7 +8,6 @@
 #define _DNET_H
 
 #define DRV_NAME		"dnet"
-#define DRV_VERSION		"0.9.1"
 #define PFX				DRV_NAME ": "
 
 /* Register access macros */
-- 
2.24.1