RDMA/cxgb4: Don't re-init wait object in init/fini paths
authorSteve Wise <swise@opengridcomputing.com>
Tue, 11 Jan 2011 01:41:43 +0000 (17:41 -0800)
committerRoland Dreier <rolandd@cisco.com>
Tue, 11 Jan 2011 01:41:43 +0000 (17:41 -0800)
commitdb8b10167126d72829653690f57b9c7ca53c4d54
tree3d99ca03dee2fe076932821087a6558572f47094
parentc94310916390ac162e70c8c134bf70680c944a02
RDMA/cxgb4: Don't re-init wait object in init/fini paths

Re-initializing the wait object in rdma_init()/rdma_fini() causes a
timing window which can lead to a deadlock during close.  Once this
deadlock hits, all RDMA activity over the T4 device will be stuck.

There's no need to re-init the wait object, so remove it.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Cc: <stable@kernel.org>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/cxgb4/qp.c