aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-09-03 10:46:13 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-09-03 15:26:11 +0200
commitac2658e0d9f0461e730cbc343231dad304fb2f4f (patch)
tree201774977465ac340d2e49fe5ba7f4d971b73160 /drivers/usb
parentusb-storage: use hcd_uses_dma to check for DMA capabilities (diff)
downloadlinux-dev-ac2658e0d9f0461e730cbc343231dad304fb2f4f.tar.xz
linux-dev-ac2658e0d9f0461e730cbc343231dad304fb2f4f.zip
usb: remove a stale comment in hcd_alloc_coherent
Now that we have the local memory pool implemented there is no need to use dma_declare_coherent_memory. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20190903084615.19161-5-hch@lst.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/core/hcd.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c
index add2af4af766..4ccfc8e59604 100644
--- a/drivers/usb/core/hcd.c
+++ b/drivers/usb/core/hcd.c
@@ -1249,9 +1249,6 @@ EXPORT_SYMBOL_GPL(usb_hcd_unlink_urb_from_ep);
* To support host controllers with limited dma capabilities we provide dma
* bounce buffers. This feature can be enabled by initializing
* hcd->localmem_pool using usb_hcd_setup_local_mem().
- * For this to work properly the host controller code must first use the
- * function dma_declare_coherent_memory() to point out which memory area
- * that should be used for dma allocations.
*
* The initialized hcd->localmem_pool then tells the usb code to allocate all
* data for dma using the genalloc API.