diff mbox

[15/32] cxgb4: remove unused function dump_wqe

Message ID 1476381095-20041-16-git-send-email-hch@lst.de (mailing list archive)
State Accepted
Headers show

Commit Message

Christoph Hellwig Oct. 13, 2016, 5:51 p.m. UTC
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 providers/cxgb4/qp.c | 14 --------------
 1 file changed, 14 deletions(-)

Comments

Steve Wise Oct. 13, 2016, 7:11 p.m. UTC | #1
> Signed-off-by: Christoph Hellwig <hch@lst.de>

Looks fine.

Reviewed-by: Steve Wise <swise@opengridcomputing.com>


--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/providers/cxgb4/qp.c b/providers/cxgb4/qp.c
index 95b459a..376a00a 100644
--- a/providers/cxgb4/qp.c
+++ b/providers/cxgb4/qp.c
@@ -267,20 +267,6 @@  static int build_rdma_recv(struct c4iw_qp *qhp, union t4_recv_wr *wqe,
 	return 0;
 }
 
-void dump_wqe(void *arg)
-{
-	u64 *p = arg;
-	int len16;
-
-	len16 = be64_to_cpu(*p) & 0xff;
-	while (len16--) {
-		printf("%02x: %016llx ", (u8)(unsigned long)p, (long long)be64_to_cpu(*p));
-		p++;
-		printf("%016llx\n", (long long)be64_to_cpu(*p));
-		p++;
-	}
-}
-
 static void ring_kernel_db(struct c4iw_qp *qhp, u32 qid, u16 idx)
 {
 	struct ibv_modify_qp cmd;