summaryrefslogtreecommitdiff
path: root/arch/um/drivers/net_kern.c
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2020-02-20 10:40:13 +0200
committerRichard Weinberger <richard@nod.at>2020-03-29 23:20:25 +0200
commitc2ed957c3b288cd037d2c933222edaf1e20ede26 (patch)
tree5a5a6c92be3622ffb4a1080af5c2960bb781c27a /arch/um/drivers/net_kern.c
parentba758cfce00a5977ccf019926f8379a96f5ac5f6 (diff)
um: Don't overwrite ethtool driver version
In-tree drivers don't need to manage internal version because they are aligned to the global Linux kernel version, which is reported by default with "ethtool -i". Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Acked-by: Anton Ivanov <anton.ivanov@cambridgegreys.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/drivers/net_kern.c')
-rw-r--r--arch/um/drivers/net_kern.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/um/drivers/net_kern.c b/arch/um/drivers/net_kern.c
index 35ebeebfc1a8..af07733c2dc8 100644
--- a/arch/um/drivers/net_kern.c
+++ b/arch/um/drivers/net_kern.c
@@ -266,7 +266,6 @@ static void uml_net_get_drvinfo(struct net_device *dev,
struct ethtool_drvinfo *info)
{
strlcpy(info->driver, DRIVER_NAME, sizeof(info->driver));
- strlcpy(info->version, "42", sizeof(info->version));
}
static const struct ethtool_ops uml_net_ethtool_ops = {