From: Adrian Bunk <bunk@kernel.org>
To: Shannon Nelson <shannon.nelson@intel.com>,
"David S. Miller" <davem@davemloft.net>
Cc: linux-kernel@vger.kernel.org
Subject: [2.6 patch] #if 0 dma_async_memcpy_buf_to_buf()
Date: Tue, 14 Aug 2007 23:21:43 +0200 [thread overview]
Message-ID: <20070814212143.GR18945@stusta.de> (raw)
This patch #if 0's the unused dma_async_memcpy_buf_to_buf().
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
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,
next reply other threads:[~2007-08-14 21:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-14 21:21 Adrian Bunk [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-01-01 13:49 [2.6 patch] #if 0 dma_async_memcpy_buf_to_buf() Adrian Bunk
2008-01-01 14:25 ` Alan Cox
2008-01-02 5:04 ` Nelson, Shannon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070814212143.GR18945@stusta.de \
--to=bunk@kernel.org \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=shannon.nelson@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.