summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorAndy Grover <andy.grover@oracle.com>2010-01-13 19:29:37 -0500
committerAndy Grover <andy.grover@oracle.com>2010-09-08 21:11:49 -0400
commit6f3d05db0da0b874afd2dd229bed715133532f8d (patch)
tree6594e9bf871477af62eae2d1090d8905887db8ef /net
parentf147dd9ecabf23fd63d2562ffe64252a0453ecde (diff)
RDS/IB: Remove dead code
Signed-off-by: Andy Grover <andy.grover@oracle.com>
Diffstat (limited to 'net')
-rw-r--r--net/rds/ib_send.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/net/rds/ib_send.c b/net/rds/ib_send.c
index d2516d3f87e2..e86908497fcf 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,
542 542
543 /* map the message the first time we see it */ 543 /* map the message the first time we see it */
544 if (!ic->i_rm) { 544 if (!ic->i_rm) {
545 /*
546 printk(KERN_NOTICE "rds_ib_xmit prep msg dport=%u flags=0x%x len=%d\n",
547 be16_to_cpu(rm->m_inc.i_hdr.h_dport),
548 rm->m_inc.i_hdr.h_flags,
549 be32_to_cpu(rm->m_inc.i_hdr.h_len));
550 */
551 if (rm->data.m_nents) { 545 if (rm->data.m_nents) {
552 rm->data.m_count = ib_dma_map_sg(dev, 546 rm->data.m_count = ib_dma_map_sg(dev,
553 rm->data.m_sg, 547 rm->data.m_sg,
@@ -684,14 +678,6 @@ add_header:
684 * have been set up to point to the right header buffer. */ 678 * have been set up to point to the right header buffer. */
685 memcpy(&ic->i_send_hdrs[pos], &rm->m_inc.i_hdr, sizeof(struct rds_header)); 679 memcpy(&ic->i_send_hdrs[pos], &rm->m_inc.i_hdr, sizeof(struct rds_header));
686 680
687 if (0) {
688 struct rds_header *hdr = &ic->i_send_hdrs[pos];
689
690 printk(KERN_NOTICE "send WR dport=%u flags=0x%x len=%d\n",
691 be16_to_cpu(hdr->h_dport),
692 hdr->h_flags,
693 be32_to_cpu(hdr->h_len));
694 }
695 if (adv_credits) { 681 if (adv_credits) {
696 struct rds_header *hdr = &ic->i_send_hdrs[pos]; 682 struct rds_header *hdr = &ic->i_send_hdrs[pos];
697 683