net/agere: Delete unneeded driver version
authorLeon Romanovsky <leonro@mellanox.com>
Mon, 24 Feb 2020 08:53:00 +0000 (10:53 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Feb 2020 19:23:37 +0000 (11:23 -0800)
There is no need in driver version for in-tree kernel code.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/agere/et131x.c
drivers/net/ethernet/agere/et131x.h

index cb6a761d5c116f25c848ed2b2c96c46ea85722b4..1b19385ad8a92aee629a2afa6ad0b4cf01852a52 100644 (file)
@@ -2958,7 +2958,6 @@ static void et131x_get_drvinfo(struct net_device *netdev,
        struct et131x_adapter *adapter = netdev_priv(netdev);
 
        strlcpy(info->driver, DRIVER_NAME, sizeof(info->driver));
-       strlcpy(info->version, DRIVER_VERSION, sizeof(info->version));
        strlcpy(info->bus_info, pci_name(adapter->pdev),
                sizeof(info->bus_info));
 }
index be9a11c025265528501908eaca4a16d8006ab6ce..d0e922584d8ad48dfb3188e5f957ceffeaa4aab2 100644 (file)
@@ -46,7 +46,6 @@
  */
 
 #define DRIVER_NAME "et131x"
-#define DRIVER_VERSION "v2.0"
 
 /* EEPROM registers */