Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/atari/atari Nuke some unused code.



details:   https://anonhg.NetBSD.org/src/rev/087562a0a717
branches:  trunk
changeset: 520399:087562a0a717
user:      leo <leo%NetBSD.org@localhost>
date:      Wed Jan 09 20:54:14 2002 +0000

description:
Nuke some unused code.

diffstat:

 sys/arch/atari/atari/bus.c |  6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diffs (27 lines):

diff -r 0dbd171b6e26 -r 087562a0a717 sys/arch/atari/atari/bus.c
--- a/sys/arch/atari/atari/bus.c        Wed Jan 09 20:20:54 2002 +0000
+++ b/sys/arch/atari/atari/bus.c        Wed Jan 09 20:54:14 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus.c,v 1.30 2002/01/07 07:17:17 thorpej Exp $ */
+/*     $NetBSD: bus.c,v 1.31 2002/01/09 20:54:14 leo Exp $     */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -154,7 +154,6 @@
 int                    flags;
 bus_space_handle_t     *mhp;
 {
-       paddr_t pa, endpa;
        int     error;
 
        /*
@@ -167,9 +166,6 @@
        if (error)
                return (error);
 
-       pa    = m68k_trunc_page(bpa + t->base);
-       endpa = m68k_round_page((bpa + t->base + size) - 1);
-
        error = bus_mem_add_mapping(t, bpa, size, flags, mhp);
        if (error) {
                if (extent_free(iomem_ex, bpa + t->base, size, EX_NOWAIT |



Home | Main Index | Thread Index | Old Index