From: Marek Szyprowski Date: Wed, 21 Dec 2011 15:55:57 +0000 (+0100) Subject: common: dma-mapping: remove old alloc_coherent and free_coherent methods X-Git-Tag: v3.4-rc2~18^2~3 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=645ae3bce3e62541f8dc2701dde2a2791d842b6c;p=linux.git common: dma-mapping: remove old alloc_coherent and free_coherent methods Remove old, unused alloc_coherent and free_coherent methods from dma_map_ops structure. Signed-off-by: Marek Szyprowski Acked-by: Kyungmin Park Reviewed-by: Arnd Bergmann --- diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h index 8cc7f95289ac..2fc413a873ea 100644 --- a/include/linux/dma-mapping.h +++ b/include/linux/dma-mapping.h @@ -9,10 +9,6 @@ #include struct dma_map_ops { - void* (*alloc_coherent)(struct device *dev, size_t size, - dma_addr_t *dma_handle, gfp_t gfp); - void (*free_coherent)(struct device *dev, size_t size, - void *vaddr, dma_addr_t dma_handle); void* (*alloc)(struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t gfp, struct dma_attrs *attrs);