aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFinn Thain2020-11-20 15:39:56 +1100
committerGeert Uytterhoeven2020-11-23 11:30:54 +0100
commit471037e2c9bbc96048a024b68bc9873b588fbe96 (patch)
tree843c1408ec20fb167bfdfa3bce487d05a7fcfa36
parent266994e3ac78955f2f7f4ac3fe588002c7bd679c (diff)
m68k: mac: Remove dead code
Cc: Joshua Thompson <funaho@jurai.org> Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Link: https://lore.kernel.org/r/effef6339c919a4ef2e81a47e4383f712cdd7626.1605847196.git.fthain@telegraphics.com.au Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
-rw-r--r--arch/m68k/mac/via.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/m68k/mac/via.c b/arch/m68k/mac/via.c
index ac77d73af19a..2217ca688b64 100644
--- a/arch/m68k/mac/via.c
+++ b/arch/m68k/mac/via.c
@@ -305,21 +305,6 @@ void via_l2_flush(int writeback)
}
/*
- * 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
*/