diff options
-rw-r--r-- | drivers/hv/channel_mgmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c index c80fe6245f5b..7478ef914b9a 100644 --- a/drivers/hv/channel_mgmt.c +++ b/drivers/hv/channel_mgmt.c | |||
@@ -337,7 +337,7 @@ static u32 get_vp_index(uuid_le *type_guid) | |||
337 | return 0; | 337 | return 0; |
338 | } | 338 | } |
339 | cur_cpu = (++next_vp % max_cpus); | 339 | cur_cpu = (++next_vp % max_cpus); |
340 | return hv_context.vp_index[cur_cpu]; | 340 | return 0; |
341 | } | 341 | } |
342 | 342 | ||
343 | /* | 343 | /* |