diff options
author | Stephen Hemminger <sthemmin@microsoft.com> | 2016-10-26 17:30:29 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-29 21:03:14 +0200 |
commit | e934f684856393a0b2aecc7fdd8357a48b79c535 (patch) | |
tree | 26e6feb3fdf4180892d5912007fc420f64d51c34 /drivers/net/hyperv | |
parent | packet: on direct_xmit, limit tso and csum to supported devices (diff) | |
download | linux-e934f684856393a0b2aecc7fdd8357a48b79c535.tar.xz linux-e934f684856393a0b2aecc7fdd8357a48b79c535.zip |
Revert "hv_netvsc: report vmbus name in ethtool"
This reverts commit e3f74b841d48
("hv_netvsc: report vmbus name in ethtool")'
because of problem introduced by commit f9a56e5d6a0ba
("Drivers: hv: make VMBus bus ids persistent").
This changed the format of the vmbus name and this new format is too
long to fit in the bus_info field of ethtool.
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hyperv')
-rw-r--r-- | drivers/net/hyperv/netvsc_drv.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/hyperv/netvsc_drv.c b/drivers/net/hyperv/netvsc_drv.c index c71d966d905f..f6382150b16a 100644 --- a/drivers/net/hyperv/netvsc_drv.c +++ b/drivers/net/hyperv/netvsc_drv.c @@ -699,12 +699,8 @@ int netvsc_recv_callback(struct hv_device *device_obj, static void netvsc_get_drvinfo(struct net_device *net, struct ethtool_drvinfo *info) { - struct net_device_context *net_device_ctx = netdev_priv(net); - struct hv_device *dev = net_device_ctx->device_ctx; - strlcpy(info->driver, KBUILD_MODNAME, sizeof(info->driver)); strlcpy(info->fw_version, "N/A", sizeof(info->fw_version)); - strlcpy(info->bus_info, vmbus_dev_name(dev), sizeof(info->bus_info)); } static void netvsc_get_channels(struct net_device *net, |