lan78xx: Remove DRIVER_VERSION for lan78xx driver
authorRaghuram Chary J <raghuramchary.jallipalli@microchip.com>
Sat, 28 Apr 2018 06:03:15 +0000 (11:33 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Apr 2018 01:41:01 +0000 (21:41 -0400)
Remove driver version info from the lan78xx driver.

Signed-off-by: Raghuram Chary J <raghuramchary.jallipalli@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/lan78xx.c

index 81dfd10c3b92e03f29e227d524cc3839a9dddd57..54f8db887e3dd60579e1ec273c7a4df055f1755f 100644 (file)
@@ -44,7 +44,6 @@
 #define DRIVER_AUTHOR  "WOOJUNG HUH <woojung.huh@microchip.com>"
 #define DRIVER_DESC    "LAN78XX USB 3.0 Gigabit Ethernet Devices"
 #define DRIVER_NAME    "lan78xx"
-#define DRIVER_VERSION "1.0.6"
 
 #define TX_TIMEOUT_JIFFIES             (5 * HZ)
 #define THROTTLE_JIFFIES               (HZ / 8)
@@ -1503,7 +1502,6 @@ static void lan78xx_get_drvinfo(struct net_device *net,
        struct lan78xx_net *dev = netdev_priv(net);
 
        strncpy(info->driver, DRIVER_NAME, sizeof(info->driver));
-       strncpy(info->version, DRIVER_VERSION, sizeof(info->version));
        usb_make_path(dev->udev, info->bus_info, sizeof(info->bus_info));
 }