This patch #if 0's the unused dma_async_memcpy_buf_to_buf(). Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
--- This patch has been sent on: - 14 Aug 2007 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/