Skip to contentSkip to conversation

net: usbnet: remove driver version

PATCH Applied Heiner Kallweit 3 participants 3 messages Oct 9, 2020 – Oct 10, 2020

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: usbnet: remove driver version

Obviously this driver version doesn't make sense. Go with the default and let ethtool display the kernel version.

---
 drivers/net/usb/usbnet.c | 4 ----
 1 file changed, 4 deletions(-)
drivers/net/usb/usbnet.c +0 -4
index bf6c58240..963d260d1 100644
@@ -34,9 +34,6 @@
 #include <linux/kernel.h>
 #include <linux/pm_runtime.h>
 
-#define DRIVER_VERSION		"22-Aug-2005"
-
-
 /*-------------------------------------------------------------------------*/
 
 /*
@@ -1047,7 +1044,6 @@ void usbnet_get_drvinfo (struct net_device *net, struct ethtool_drvinfo *info)
 	struct usbnet *dev = netdev_priv(net);
 
 	strlcpy (info->driver, dev->driver_name, sizeof info->driver);
-	strlcpy (info->version, DRIVER_VERSION, sizeof info->version);
 	strlcpy (info->fw_version, dev->driver_info->description,
 		sizeof info->fw_version);
 	usb_make_path (dev->udev, info->bus_info, sizeof info->bus_info);
Signature · 1 line
2.28.0