Messages in this thread Patch in this message | | | Subject | [PATCH][6/6] IB: Remove incorrect comments | Date | Fri, 1 Apr 2005 10:23:51 -0800 | From | Roland Dreier <> |
| |
From: Hal Rosenstock <halr@voltaire.com>
Eliminate unneeded and misleading comments
Signed-off-by: Hal Rosenstock <halr@voltaire.com> Signed-off-by: Roland Dreier <roland@topspin.com>
--- linux-export.orig/drivers/infiniband/core/agent.c 2005-03-31 19:06:48.000000000 -0800 +++ linux-export/drivers/infiniband/core/agent.c 2005-04-01 10:09:02.621290525 -0800 @@ -129,7 +129,6 @@ goto out; agent_send_wr->mad = mad_priv; - /* PCI mapping */ gather_list.addr = dma_map_single(mad_agent->device->dma_device, &mad_priv->mad, sizeof(mad_priv->mad), @@ -261,7 +260,6 @@ list_del(&agent_send_wr->send_list); spin_unlock_irqrestore(&port_priv->send_list_lock, flags); - /* Unmap PCI */ dma_unmap_single(mad_agent->device->dma_device, pci_unmap_addr(agent_send_wr, mapping), sizeof(agent_send_wr->mad->mad), --- linux-export.orig/drivers/infiniband/core/mad.c 2005-04-01 10:08:56.473624910 -0800 +++ linux-export/drivers/infiniband/core/mad.c 2005-04-01 10:09:02.768258624 -0800 @@ -2283,7 +2283,6 @@ /* Remove from posted receive MAD list */ list_del(&mad_list->list); - /* Undo PCI mapping */ dma_unmap_single(qp_info->port_priv->device->dma_device, pci_unmap_addr(&recv->header, mapping), sizeof(struct ib_mad_private) - - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |