From: Greg Ungerer Date: Mon, 28 Mar 2011 08:00:08 +0000 (+1000) Subject: m68knommu: remove unused kernel_set_cachemode() X-Git-Tag: MMI-PSA29.97-13-9~19632^2~15 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=92474a2513e828c27e371728845f24cef98748b2;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git m68knommu: remove unused kernel_set_cachemode() None of the m68knommu platforms will ever use kernel_set_cachemode(). And it is specific to a couple of m68k devices. So remove it. Signed-off-by: Greg Ungerer --- diff --git a/arch/m68k/mm/kmap_no.c b/arch/m68k/mm/kmap_no.c index ece8d5ad4e6c..38b2abe9d9a5 100644 --- a/arch/m68k/mm/kmap_no.c +++ b/arch/m68k/mm/kmap_no.c @@ -35,11 +35,3 @@ void iounmap(void *addr) { } -/* - * Set new cache mode for some kernel address space. - * The caller must push data for that range itself, if such data may already - * be in the cache. - */ -void kernel_set_cachemode(void *addr, unsigned long size, int cmode) -{ -}