ehea: using wait queues instead of msleep on ehea_flush_sq
authorBreno Leitao <leitao@linux.vnet.ibm.com>
Tue, 5 Oct 2010 13:16:22 +0000 (13:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Oct 2010 03:10:32 +0000 (20:10 -0700)
commit5b27d42755fa6536a89f32b107fb2a53267696c2
treea626834a26e639f0f210a735200c46ed113723e0
parent9ed51657f6ea2a08582d6a9be5404b044972b7e0
ehea: using wait queues instead of msleep on ehea_flush_sq

This patch just remove a msleep loop and change to wait queue,
making the code cleaner.

Signed-off-by: Breno Leitao <leitao@linux.vnet.ibm.com>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ehea/ehea.h
drivers/net/ehea/ehea_main.c