diff options
author | Breno Leitao <leitao@linux.vnet.ibm.com> | 2010-10-05 09:16:22 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-05 23:10:32 -0400 |
commit | 5b27d42755fa6536a89f32b107fb2a53267696c2 (patch) | |
tree | a626834a26e639f0f210a735200c46ed113723e0 /drivers/net/ehea/ehea.h | |
parent | 9ed51657f6ea2a08582d6a9be5404b044972b7e0 (diff) |
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>
Diffstat (limited to 'drivers/net/ehea/ehea.h')
-rw-r--r-- | drivers/net/ehea/ehea.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ehea/ehea.h b/drivers/net/ehea/ehea.h index 1846623c6ae6..5bae7daf40fb 100644 --- a/drivers/net/ehea/ehea.h +++ b/drivers/net/ehea/ehea.h | |||
@@ -491,6 +491,7 @@ struct ehea_port { | |||
491 | u8 full_duplex; | 491 | u8 full_duplex; |
492 | u8 autoneg; | 492 | u8 autoneg; |
493 | u8 num_def_qps; | 493 | u8 num_def_qps; |
494 | wait_queue_head_t swqe_avail_wq; | ||
494 | }; | 495 | }; |
495 | 496 | ||
496 | struct port_res_cfg { | 497 | struct port_res_cfg { |