From: Marek Szyprowski Date: Thu, 8 Nov 2012 07:46:23 +0000 (+0100) Subject: ARM: dma-mapping: remove init_consistent_dma_size() stub X-Git-Tag: next-20121113~24^2~8^2^2~2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ce7f59e9cb4bb0fd71a6c67c220253b39d3e4d17;p=karo-tx-linux.git ARM: dma-mapping: remove init_consistent_dma_size() stub Since commit e9da6e9905e639b0 ("ARM: dma-mapping: remove custom consistent dma region") setting consistent dma memory size is not longer required. All calls to this function has been already removed, so the init_consistent_dma_size() stub can also be gone. Signed-off-by: Marek Szyprowski --- diff --git a/arch/arm/include/asm/dma-mapping.h b/arch/arm/include/asm/dma-mapping.h index 23004847bb05..8ea02ac3ec1a 100644 --- a/arch/arm/include/asm/dma-mapping.h +++ b/arch/arm/include/asm/dma-mapping.h @@ -210,13 +210,6 @@ static inline void dma_free_writecombine(struct device *dev, size_t size, */ extern void __init init_dma_coherent_pool_size(unsigned long size); -/* - * This can be called during boot to increase the size of the consistent - * DMA region above it's default value of 2MB. It must be called before the - * memory allocator is initialised, i.e. before any core_initcall. - */ -static inline void init_consistent_dma_size(unsigned long size) { } - /* * For SA-1111, IXP425, and ADI systems the dma-mapping functions are "magic" * and utilize bounce buffers as needed to work around limited DMA windows.