summaryrefslogtreecommitdiffstats
path: root/kernel/dma
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-04-12 10:46:01 +0200
committerChristoph Hellwig <hch@lst.de>2018-10-19 08:42:20 +0200
commit21bb9d64c5adc0a87c3736bc9a2d386023b88a5b (patch)
treea1440a98f279337e692b35a14b219eccdf713bb9 /kernel/dma
parentb9fd04262a8abc366f40a9e97598e94591352c26 (diff)
downloadtalos-obmc-linux-21bb9d64c5adc0a87c3736bc9a2d386023b88a5b.tar.gz
talos-obmc-linux-21bb9d64c5adc0a87c3736bc9a2d386023b88a5b.zip
swiotlb: remove a pointless comment
This comments describes an aspect of the map_sg interface that isn't even exploited by swiotlb. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Robin Murphy <robin.murphy@arm.com> Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'kernel/dma')
-rw-r--r--kernel/dma/swiotlb.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/kernel/dma/swiotlb.c b/kernel/dma/swiotlb.c
index 4f8a6dbf0b60..9062b14bc7f4 100644
--- a/kernel/dma/swiotlb.c
+++ b/kernel/dma/swiotlb.c
@@ -925,12 +925,6 @@ swiotlb_sync_single_for_device(struct device *hwdev, dma_addr_t dev_addr,
* appropriate dma address and length. They are obtained via
* sg_dma_{address,length}(SG).
*
- * NOTE: An implementation may be able to use a smaller number of
- * DMA address/length pairs than there are SG table elements.
- * (for example via virtual mapping capabilities)
- * The routine returns the number of addr/length pairs actually
- * used, at most nents.
- *
* Device ownership issues as mentioned above for swiotlb_map_page are the
* same here.
*/
OpenPOWER on IntegriCloud