diff options
author | Corentin Labbe <clabbe@baylibre.com> | 2018-02-06 20:37:31 +0000 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-02-14 16:21:15 -0700 |
commit | fc968aee5e984c9cc2417147b9b5cd1da7ab43f3 (patch) | |
tree | 202f8a8fc738b6dccb45f7f18101837cb3345c7b /drivers/infiniband/hw/cxgb3/iwch_cq.c | |
parent | Linux 4.16-rc1 (diff) | |
download | linux-dev-fc968aee5e984c9cc2417147b9b5cd1da7ab43f3.tar.xz linux-dev-fc968aee5e984c9cc2417147b9b5cd1da7ab43f3.zip |
IB/cxgb3: remove cxio_dbg.c
cxio_dbg.c is uncompiled since commit 2b540355cd2f ("RDMA/cxgb3: cleanups")
10 years after, we could remove it.
Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Acked-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/cxgb3/iwch_cq.c')
-rw-r--r-- | drivers/infiniband/hw/cxgb3/iwch_cq.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/infiniband/hw/cxgb3/iwch_cq.c b/drivers/infiniband/hw/cxgb3/iwch_cq.c index dd5348e48806..0a8542c20804 100644 --- a/drivers/infiniband/hw/cxgb3/iwch_cq.c +++ b/drivers/infiniband/hw/cxgb3/iwch_cq.c @@ -200,9 +200,6 @@ int iwch_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc) spin_lock_irqsave(&chp->lock, flags); for (npolled = 0; npolled < num_entries; ++npolled) { -#ifdef DEBUG - int i=0; -#endif /* * Because T3 can post CQEs that are _not_ associated @@ -211,9 +208,6 @@ int iwch_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc) */ do { err = iwch_poll_cq_one(rhp, chp, wc + npolled); -#ifdef DEBUG - BUG_ON(++i > 1000); -#endif } while (err == -EAGAIN); if (err <= 0) break; |