summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1999-10-29 14:36:03 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1999-10-29 14:36:03 +0000
commit710d034c7a14f8cf07ba702ceeaf3fc0f6951ee5 (patch)
tree4c430e28250f21401e58a298da213b92a662a8a1 /sys/arch
parent8f4f3dedee581c4f3e028b7aeb98972a8da8c072 (diff)
Remove dead code.
!MACHINE_NONCONTIG && !MACHINE_NEW_NONCONTIG will not work anyway.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc/sparc/machdep.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/sparc/sparc/machdep.c b/sys/arch/sparc/sparc/machdep.c
index 7d623c0ed66..5c697466a18 100644
--- a/sys/arch/sparc/sparc/machdep.c
+++ b/sys/arch/sparc/sparc/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.41 1999/09/07 03:42:48 jason Exp $ */
+/* $OpenBSD: machdep.c,v 1.42 1999/10/29 14:36:02 art Exp $ */
/* $NetBSD: machdep.c,v 1.85 1997/09/12 08:55:02 pk Exp $ */
/*
@@ -119,7 +119,6 @@ vm_map_t phys_map = NULL;
#else
vm_map_t buffer_map;
#endif
-extern vaddr_t avail_end;
/*
* Declare these as initialized data so we can patch them.
@@ -192,9 +191,6 @@ cpu_startup()
*/
printf(version);
/*identifycpu();*/
-#if !defined(MACHINE_NONCONTIG) && !defined(MACHINE_NEW_NONCONTIG)
- physmem = btoc(avail_end);
-#endif
printf("real mem = %d\n", ctob(physmem));
/*