From: Finn Thain Date: Fri, 20 Nov 2020 04:39:56 +0000 (+1100) Subject: m68k: mac: Remove dead code X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=471037e2c9bbc96048a024b68bc9873b588fbe96;p=linux.git m68k: mac: Remove dead code Cc: Joshua Thompson Signed-off-by: Finn Thain Link: https://lore.kernel.org/r/effef6339c919a4ef2e81a47e4383f712cdd7626.1605847196.git.fthain@telegraphics.com.au Signed-off-by: Geert Uytterhoeven --- diff --git a/arch/m68k/mac/via.c b/arch/m68k/mac/via.c index ac77d73af19a5..2217ca688b64f 100644 --- a/arch/m68k/mac/via.c +++ b/arch/m68k/mac/via.c @@ -304,21 +304,6 @@ void via_l2_flush(int writeback) local_irq_restore(flags); } -/* - * Return the status of the L2 cache on a IIci - */ - -int via_get_cache_disable(void) -{ - /* Safeguard against being called accidentally */ - if (!via2) { - printk(KERN_ERR "via_get_cache_disable called on a non-VIA machine!\n"); - return 1; - } - - return (int) via2[gBufB] & VIA2B_vCDis; -} - /* * Initialize VIA2 for Nubus access */