net/dnet: Delete static version from the driver
authorLeon Romanovsky <leonro@mellanox.com>
Sun, 1 Mar 2020 14:44:49 +0000 (16:44 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Mar 2020 01:54:55 +0000 (17:54 -0800)
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>
drivers/net/ethernet/dnet.c
drivers/net/ethernet/dnet.h

index 5f8fa11..057a508 100644 (file)
@@ -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));
 }
 
index 8af6c07..0307244 100644 (file)
@@ -8,7 +8,6 @@
 #define _DNET_H
 
 #define DRV_NAME               "dnet"
-#define DRV_VERSION            "0.9.1"
 #define PFX                            DRV_NAME ": "
 
 /* Register access macros */