summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/sw/rdmavt/cq.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/infiniband/sw/rdmavt/cq.c')
-rw-r--r--drivers/infiniband/sw/rdmavt/cq.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/infiniband/sw/rdmavt/cq.c b/drivers/infiniband/sw/rdmavt/cq.c
index c69c0709696a..b1ffc8b4a6c0 100644
--- a/drivers/infiniband/sw/rdmavt/cq.c
+++ b/drivers/infiniband/sw/rdmavt/cq.c
@@ -508,11 +508,6 @@ int rvt_driver_cq_init(struct rvt_dev_info *rdi)
int cpu;
struct task_struct *task;
- if (rdi->flags & RVT_FLAG_CQ_INIT_DRIVER) {
- rvt_pr_info(rdi, "Driver is doing CQ init.\n");
- return 0;
- }
-
if (rdi->worker)
return 0;
rdi->worker = kzalloc(sizeof(*rdi->worker), GFP_KERNEL);
OpenPOWER on IntegriCloud