diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2019-05-20 09:54:25 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-05-21 15:50:53 -0300 |
commit | dab99af99c7ca4c9dbea7d4d218ef7eb6b183aaf (patch) | |
tree | c650a90f040efbf0fde02929981eadc7b8123427 | |
parent | 3bb58cfe07e273903dde62592ccfb21f9b0761e2 (diff) |
RDMA/nes: Remove second wait queue initialization call
The same wait queue is initialized a couple of lines above.
Fixes: 3c2d774cad5b ("RDMA/nes: Add a driver for NetEffect RNICs")
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
-rw-r--r-- | drivers/infiniband/hw/nes/nes_utils.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/nes/nes_utils.c b/drivers/infiniband/hw/nes/nes_utils.c index 21b4a8373acf..90f28890246d 100644 --- a/drivers/infiniband/hw/nes/nes_utils.c +++ b/drivers/infiniband/hw/nes/nes_utils.c @@ -586,7 +586,6 @@ struct nes_cqp_request *nes_get_cqp_request(struct nes_device *nesdev) cqp_request->waiting = 0; cqp_request->request_done = 0; cqp_request->callback = 0; - init_waitqueue_head(&cqp_request->waitq); nes_debug(NES_DBG_CQP, "Got cqp request %p from the available list \n", cqp_request); } else |