From: Michael Kelley <[email protected]>

With the overall removal of Linux support for running on Hyper-V
hosts earlier than WS2016 and Windows 10, the check for such versions
during hv_sock initialization is no longer necessary. Remove the
check.

Signed-off-by: Michael Kelley <[email protected]>
---
 net/vmw_vsock/hyperv_transport.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/net/vmw_vsock/hyperv_transport.c b/net/vmw_vsock/hyperv_transport.c
index 5405c2680dec..855b15971c35 100644
--- a/net/vmw_vsock/hyperv_transport.c
+++ b/net/vmw_vsock/hyperv_transport.c
@@ -961,9 +961,6 @@ static int __init hvs_init(void)
 {
        int ret;
 
-       if (vmbus_proto_version < VERSION_WIN10)
-               return -ENODEV;
-
        ret = vmbus_driver_register(&hvs_drv);
        if (ret != 0)
                return ret;
-- 
2.25.1


Reply via email to