RDMA/cxgb3: Don't pass irq flags to flush_qp()
authorSteve Wise <swise@opengridcomputing.com>
Wed, 7 Mar 2012 22:48:46 +0000 (16:48 -0600)
committerRoland Dreier <roland@purestorage.com>
Wed, 7 Mar 2012 23:12:45 +0000 (15:12 -0800)
commitdb4106ce635830201fad1bfca731a635beab6a72
tree344aead8f592bdab67bc395213d0ddda0fe88bc5
parent6b21d18ed50c7d145220b0724ea7f2613abf0f95
RDMA/cxgb3: Don't pass irq flags to flush_qp()

Since flush_qp() is always called with irqs disabled, all the locking
inside flush_qp() and __flush_qp() doesn't need irq save/restore.

Further, passing the flag variable from iwch_modify_qp() is just wrong
and causes a WARN_ON() in local_bh_enable().

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/cxgb3/iwch_qp.c