swiotlb: remove a pointless comment
authorChristoph Hellwig <hch@lst.de>
Thu, 12 Apr 2018 08:46:01 +0000 (10:46 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 19 Oct 2018 06:42:20 +0000 (08:42 +0200)
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>
kernel/dma/swiotlb.c

index 4f8a6dbf0b60973c875ee8b777be8b0a274c8907..9062b14bc7f4cbcaf4e0eab46275f0afde2e45c7 100644 (file)
@@ -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.
  */