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 5f8fa1145db697c0c33fbb3ab683e9c9d74d0ef1..057a508dd6e29ace25c97cd87f05e77e610d4ce5 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 8af6c0705ab34fa7fea4e71fdbeba211d7a7a5a0..030724484b490a70420e6a261e8a1a365bfcb0e9 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 */