2020-11-20 04:55:56

by Finn Thain

[permalink] [raw]
Subject: [PATCH] m68k/mac: Remove dead code

Cc: Joshua Thompson <[email protected]>
Signed-off-by: Finn Thain <[email protected]>
---
arch/m68k/mac/via.c | 15 ---------------
1 file changed, 15 deletions(-)

diff --git a/arch/m68k/mac/via.c b/arch/m68k/mac/via.c
index 66209cb7696f..4226ae2e7501 100644
--- a/arch/m68k/mac/via.c
+++ b/arch/m68k/mac/via.c
@@ -305,21 +305,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
*/
--
2.26.2


2020-11-20 07:39:38

by Geert Uytterhoeven

[permalink] [raw]
Subject: Re: [PATCH] m68k/mac: Remove dead code

On Fri, Nov 20, 2020 at 5:51 AM Finn Thain <[email protected]> wrote:
> Cc: Joshua Thompson <[email protected]>
> Signed-off-by: Finn Thain <[email protected]>

Reviewed-by: Geert Uytterhoeven <[email protected]>
i.e. will queue in the m68k for-v5.11 branch.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds