projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bb58cf
)
RDMA/nes: Remove second wait queue initialization call
author
Leon Romanovsky
<leonro@mellanox.com>
Mon, 20 May 2019 06:54:25 +0000
(09:54 +0300)
committer
Jason Gunthorpe
<jgg@mellanox.com>
Tue, 21 May 2019 18:50:53 +0000
(15:50 -0300)
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>
drivers/infiniband/hw/nes/nes_utils.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/nes/nes_utils.c
b/drivers/infiniband/hw/nes/nes_utils.c
index
21b4a83
..
90f2889
100644
(file)
--- 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