diff mbox

dmaengine: Remove net_dma leftovers

Message ID 1425552163-18326-1-git-send-email-maxime.ripard@free-electrons.com (mailing list archive)
State Accepted
Headers show

Commit Message

Maxime Ripard March 5, 2015, 10:42 a.m. UTC
Commit 7bce d397 510a ("net_dma: simple removal") removed the net_dma support
entirely but left some functions and prototypes in the dmaengine header.
Remove them.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 include/linux/dmaengine.h | 23 -----------------------
 1 file changed, 23 deletions(-)

Comments

Vinod Koul March 5, 2015, 4:17 p.m. UTC | #1
On Thu, Mar 05, 2015 at 11:42:43AM +0100, Maxime Ripard wrote:
> Commit 7bce d397 510a ("net_dma: simple removal") removed the net_dma support
> entirely but left some functions and prototypes in the dmaengine header.
> Remove them.
> 
Applied, thanks
diff mbox

Patch

diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h
index b6997a0cb528..dfc5c3af0438 100644
--- a/include/linux/dmaengine.h
+++ b/include/linux/dmaengine.h
@@ -1116,27 +1116,4 @@  static inline struct dma_chan
 
 	return __dma_request_channel(mask, fn, fn_param);
 }
-
-/* --- Helper iov-locking functions --- */
-
-struct dma_page_list {
-	char __user *base_address;
-	int nr_pages;
-	struct page **pages;
-};
-
-struct dma_pinned_list {
-	int nr_iovecs;
-	struct dma_page_list page_list[0];
-};
-
-struct dma_pinned_list *dma_pin_iovec_pages(struct iovec *iov, size_t len);
-void dma_unpin_iovec_pages(struct dma_pinned_list* pinned_list);
-
-dma_cookie_t dma_memcpy_to_iovec(struct dma_chan *chan, struct iovec *iov,
-	struct dma_pinned_list *pinned_list, unsigned char *kdata, size_t len);
-dma_cookie_t dma_memcpy_pg_to_iovec(struct dma_chan *chan, struct iovec *iov,
-	struct dma_pinned_list *pinned_list, struct page *page,
-	unsigned int offset, size_t len);
-
 #endif /* DMAENGINE_H */