This patch #if 0's the unused dma_async_memcpy_buf_to_buf().
Signed-off-by: Adrian Bunk <[email protected]>
---
drivers/dma/dmaengine.c | 2 ++
include/linux/dmaengine.h | 2 --
2 files changed, 2 insertions(+), 2 deletions(-)
b91933344bed48adf2b64ca0f98c45b92ef69b79
diff --git a/drivers/dma/dmaengine.c b/drivers/dma/dmaengine.c
index 8248992..f0cda56 100644
--- a/drivers/dma/dmaengine.c
+++ b/drivers/dma/dmaengine.c
@@ -459,6 +459,7 @@ void dma_async_device_unregister(struct dma_device *device)
}
EXPORT_SYMBOL(dma_async_device_unregister);
+#if 0
/**
* dma_async_memcpy_buf_to_buf - offloaded copy between virtual addresses
* @chan: DMA channel to offload copy to
@@ -501,6 +502,7 @@ dma_async_memcpy_buf_to_buf(struct dma_chan *chan, void *dest,
return cookie;
}
EXPORT_SYMBOL(dma_async_memcpy_buf_to_buf);
+#endif /* 0 */
/**
* dma_async_memcpy_buf_to_pg - offloaded copy from address to page
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h
index a3b6035..75bdd65 100644
--- a/include/linux/dmaengine.h
+++ b/include/linux/dmaengine.h
@@ -302,8 +302,6 @@ struct dma_device {
void dma_async_client_register(struct dma_client *client);
void dma_async_client_unregister(struct dma_client *client);
void dma_async_client_chan_request(struct dma_client *client);
-dma_cookie_t dma_async_memcpy_buf_to_buf(struct dma_chan *chan,
- void *dest, void *src, size_t len);
dma_cookie_t dma_async_memcpy_buf_to_pg(struct dma_chan *chan,
struct page *page, unsigned int offset, void *kdata, size_t len);
dma_cookie_t dma_async_memcpy_pg_to_pg(struct dma_chan *chan,
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]