summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/davicom
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2020-03-01 17:44:46 +0300
committerDavid S. Miller <davem@davemloft.net>2020-03-04 04:54:54 +0300
commit469c9e1ae73d0df2fd5c6cb9411a7efff65a14fd (patch)
treefe02c1a794b377d543e2729501d24830171437f0 /drivers/net/ethernet/davicom
parent3f29c285c98e2eab5a0c582f97f6e7ccc750f2fc (diff)
downloadlinux-469c9e1ae73d0df2fd5c6cb9411a7efff65a14fd.tar.xz
net/davicom: Delete ethtool version assignment
Rely on global linux kernel version instead of static value. Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/davicom')
-rw-r--r--drivers/net/ethernet/davicom/dm9000.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/davicom/dm9000.c b/drivers/net/ethernet/davicom/dm9000.c
index e94ae9b94dbf..7f7705138262 100644
--- a/drivers/net/ethernet/davicom/dm9000.c
+++ b/drivers/net/ethernet/davicom/dm9000.c
@@ -42,7 +42,6 @@
#define DM9000_PHY 0x40 /* PHY address 0x01 */
#define CARDNAME "dm9000"
-#define DRV_VERSION "1.31"
/*
* Transmit timeout, default 5 seconds.
@@ -543,7 +542,6 @@ static void dm9000_get_drvinfo(struct net_device *dev,
struct board_info *dm = to_dm9000_board(dev);
strlcpy(info->driver, CARDNAME, sizeof(info->driver));
- strlcpy(info->version, DRV_VERSION, sizeof(info->version));
strlcpy(info->bus_info, to_platform_device(dm->dev)->name,
sizeof(info->bus_info));
}