summaryrefslogtreecommitdiffstats
path: root/include/xen
diff options
context:
space:
mode:
authorKonrad Rzeszutek Wilk2012-08-13 19:26:11 +0200
committerKonrad Rzeszutek Wilk2012-09-17 19:00:43 +0200
commite815f45e6e5fe40ca3049987eab80d89d5781f03 (patch)
tree6f0a9549d0d93acc412146dfff9ff415c509c169 /include/xen
parentxen/pcifront: Use Xen-SWIOTLB when initting if required. (diff)
downloadkernel-qcow2-linux-e815f45e6e5fe40ca3049987eab80d89d5781f03.tar.gz
kernel-qcow2-linux-e815f45e6e5fe40ca3049987eab80d89d5781f03.tar.xz
kernel-qcow2-linux-e815f45e6e5fe40ca3049987eab80d89d5781f03.zip
xen/swiotlb: Remove functions not needed anymore.
Sparse warns us off: drivers/xen/swiotlb-xen.c:506:1: warning: symbol 'xen_swiotlb_map_sg' was not declared. Should it be static? drivers/xen/swiotlb-xen.c:534:1: warning: symbol 'xen_swiotlb_unmap_sg' was not declared. Should it be static? and it looks like we do not need this function at all. Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'include/xen')
-rw-r--r--include/xen/swiotlb-xen.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/xen/swiotlb-xen.h b/include/xen/swiotlb-xen.h
index 289ee509bda9..de8bcc641c49 100644
--- a/include/xen/swiotlb-xen.h
+++ b/include/xen/swiotlb-xen.h
@@ -23,15 +23,6 @@ extern dma_addr_t xen_swiotlb_map_page(struct device *dev, struct page *page,
extern void xen_swiotlb_unmap_page(struct device *hwdev, dma_addr_t dev_addr,
size_t size, enum dma_data_direction dir,
struct dma_attrs *attrs);
-/*
-extern int
-xen_swiotlb_map_sg(struct device *hwdev, struct scatterlist *sg, int nents,
- enum dma_data_direction dir);
-
-extern void
-xen_swiotlb_unmap_sg(struct device *hwdev, struct scatterlist *sg, int nents,
- enum dma_data_direction dir);
-*/
extern int
xen_swiotlb_map_sg_attrs(struct device *hwdev, struct scatterlist *sgl,
int nelems, enum dma_data_direction dir,