diff options
author | Andy Grover <andy.grover@oracle.com> | 2010-01-13 16:29:37 -0800 |
---|---|---|
committer | Andy Grover <andy.grover@oracle.com> | 2010-09-08 18:11:49 -0700 |
commit | 6f3d05db0da0b874afd2dd229bed715133532f8d (patch) | |
tree | 6594e9bf871477af62eae2d1090d8905887db8ef /net/rds/ib_send.c | |
parent | f147dd9ecabf23fd63d2562ffe64252a0453ecde (diff) | |
download | op-kernel-dev-6f3d05db0da0b874afd2dd229bed715133532f8d.zip op-kernel-dev-6f3d05db0da0b874afd2dd229bed715133532f8d.tar.gz |
RDS/IB: Remove dead code
Signed-off-by: Andy Grover <andy.grover@oracle.com>
Diffstat (limited to 'net/rds/ib_send.c')
-rw-r--r-- | net/rds/ib_send.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/net/rds/ib_send.c b/net/rds/ib_send.c index d2516d3..e869084 100644 --- a/net/rds/ib_send.c +++ b/net/rds/ib_send.c @@ -542,12 +542,6 @@ int rds_ib_xmit(struct rds_connection *conn, struct rds_message *rm, /* map the message the first time we see it */ if (!ic->i_rm) { - /* - printk(KERN_NOTICE "rds_ib_xmit prep msg dport=%u flags=0x%x len=%d\n", - be16_to_cpu(rm->m_inc.i_hdr.h_dport), - rm->m_inc.i_hdr.h_flags, - be32_to_cpu(rm->m_inc.i_hdr.h_len)); - */ if (rm->data.m_nents) { rm->data.m_count = ib_dma_map_sg(dev, rm->data.m_sg, @@ -684,14 +678,6 @@ add_header: * have been set up to point to the right header buffer. */ memcpy(&ic->i_send_hdrs[pos], &rm->m_inc.i_hdr, sizeof(struct rds_header)); - if (0) { - struct rds_header *hdr = &ic->i_send_hdrs[pos]; - - printk(KERN_NOTICE "send WR dport=%u flags=0x%x len=%d\n", - be16_to_cpu(hdr->h_dport), - hdr->h_flags, - be32_to_cpu(hdr->h_len)); - } if (adv_credits) { struct rds_header *hdr = &ic->i_send_hdrs[pos]; |