aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/sw/siw/siw_qp_tx.c
diff options
context:
space:
mode:
authorBernard Metzler <BMT@zurich.ibm.com>2019-07-10 08:38:00 +0000
committerJason Gunthorpe <jgg@mellanox.com>2019-07-10 14:27:44 -0300
commit85de5d53366f02dd0f81c9be8f435b27fb82b1f7 (patch)
tree3a155aab14fe6c7d39c3a6c652592e0af66919c4 /drivers/infiniband/sw/siw/siw_qp_tx.c
parentIB/rdmavt: Fix variable shadowing issue in rvt_create_cq (diff)
downloadlinux-dev-85de5d53366f02dd0f81c9be8f435b27fb82b1f7.tar.xz
linux-dev-85de5d53366f02dd0f81c9be8f435b27fb82b1f7.zip
RDMA/siw: Remove unnecessary kthread create/destroy printouts
There is already a warning if we cannot start any thread, and stopping those threads is not worth spamming the console. This also corrects a warning from gcc: drivers/infiniband/sw/siw/siw_main.c: In function 'siw_create_tx_threads': drivers/infiniband/sw/siw/siw_main.c:91:11: warning: variable 'rv' set but not used [-Wunused-but-set-variable] Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Bernard Metzler <bmt@zurich.ibm.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/sw/siw/siw_qp_tx.c')
-rw-r--r--drivers/infiniband/sw/siw/siw_qp_tx.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/infiniband/sw/siw/siw_qp_tx.c b/drivers/infiniband/sw/siw/siw_qp_tx.c
index 1c9fa8fa96e5..f0d949e2e318 100644
--- a/drivers/infiniband/sw/siw/siw_qp_tx.c
+++ b/drivers/infiniband/sw/siw/siw_qp_tx.c
@@ -1201,8 +1201,6 @@ int siw_run_sq(void *data)
init_llist_head(&tx_task->active);
init_waitqueue_head(&tx_task->waiting);
- pr_info("Started siw TX thread on CPU %u\n", nr_cpu);
-
while (1) {
struct llist_node *fifo_list = NULL;
@@ -1240,8 +1238,6 @@ int siw_run_sq(void *data)
siw_sq_resume(qp);
}
}
- pr_info("Stopped siw TX thread on CPU %u\n", nr_cpu);
-
return 0;
}