net/hyperv: Use wait_event on outstanding sends during device removal
authorHaiyang Zhang <haiyangz@microsoft.com>
Mon, 4 Jun 2012 06:42:38 +0000 (06:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Jun 2012 17:50:38 +0000 (13:50 -0400)
commitdc5cd894cace7bda4a743487a9f87d59a3f0a095
treeecb62686a8cb1764b7ca49c61ef9dfc22eb6d8b9
parent9ec0db71af04f4560e27a3c2f5a0411ba3155198
net/hyperv: Use wait_event on outstanding sends during device removal

Change the busy-waiting/udelay to wait_event on outstanding sends.

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/hyperv_net.h
drivers/net/hyperv/netvsc.c