|
|
@@ -363,7 +363,6 @@ int vmbus_establish_gpadl(struct vmbus_channel *channel, void *kbuffer,
|
|
|
u32 next_gpadl_handle;
|
|
|
unsigned long flags;
|
|
|
int ret = 0;
|
|
|
- int t;
|
|
|
|
|
|
next_gpadl_handle = atomic_read(&vmbus_connection.next_gpadl_handle);
|
|
|
atomic_inc(&vmbus_connection.next_gpadl_handle);
|
|
|
@@ -410,9 +409,7 @@ int vmbus_establish_gpadl(struct vmbus_channel *channel, void *kbuffer,
|
|
|
|
|
|
}
|
|
|
}
|
|
|
- t = wait_for_completion_timeout(&msginfo->waitevent, 5*HZ);
|
|
|
- BUG_ON(t == 0);
|
|
|
-
|
|
|
+ wait_for_completion(&msginfo->waitevent);
|
|
|
|
|
|
/* At this point, we received the gpadl created msg */
|
|
|
*gpadl_handle = gpadlmsg->gpadl;
|