diff options
author | Olaf Hering <olaf@aepfle.de> | 2013-05-29 05:29:07 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-01 23:34:30 -0400 |
commit | cfc25993e81f3fa68481d062be634d33184d5eae (patch) | |
tree | 659ced6211719358eccf0c47021b8b538d73434f /drivers/net/hyperv | |
parent | 9c5891bd4342349a200676d33f742dd1b864822c (diff) |
Drivers: hv: remove HV_DRV_VERSION
Remove HV_DRV_VERSION, it has no meaning for upstream drivers.
Initially it was supposed to show the "Linux Integration Services"
version, now it is not in sync anymore with the out-of-tree drivers
available from the MSFT website.
The only place where a version string is still required is the KVP
command "IntegrationServicesVersion" which is handled by
tools/hv/hv_kvp_daemon.c. To satisfy such KVP request from the host pass
the current string to the daemon during KVP userland registration.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/hyperv')
-rw-r--r-- | drivers/net/hyperv/netvsc_drv.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/hyperv/netvsc_drv.c b/drivers/net/hyperv/netvsc_drv.c index 23a0fff0df52..524f713f6017 100644 --- a/drivers/net/hyperv/netvsc_drv.c +++ b/drivers/net/hyperv/netvsc_drv.c | |||
@@ -306,7 +306,6 @@ static void netvsc_get_drvinfo(struct net_device *net, | |||
306 | struct ethtool_drvinfo *info) | 306 | struct ethtool_drvinfo *info) |
307 | { | 307 | { |
308 | strlcpy(info->driver, KBUILD_MODNAME, sizeof(info->driver)); | 308 | strlcpy(info->driver, KBUILD_MODNAME, sizeof(info->driver)); |
309 | strlcpy(info->version, HV_DRV_VERSION, sizeof(info->version)); | ||
310 | strlcpy(info->fw_version, "N/A", sizeof(info->fw_version)); | 309 | strlcpy(info->fw_version, "N/A", sizeof(info->fw_version)); |
311 | } | 310 | } |
312 | 311 | ||
@@ -529,7 +528,6 @@ static int __init netvsc_drv_init(void) | |||
529 | } | 528 | } |
530 | 529 | ||
531 | MODULE_LICENSE("GPL"); | 530 | MODULE_LICENSE("GPL"); |
532 | MODULE_VERSION(HV_DRV_VERSION); | ||
533 | MODULE_DESCRIPTION("Microsoft Hyper-V network driver"); | 531 | MODULE_DESCRIPTION("Microsoft Hyper-V network driver"); |
534 | 532 | ||
535 | module_init(netvsc_drv_init); | 533 | module_init(netvsc_drv_init); |