Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/acorn26/acorn26 remove redundant initialization of ...



details:   https://anonhg.NetBSD.org/src/rev/37fae6cef244
branches:  trunk
changeset: 573816:37fae6cef244
user:      chs <chs%NetBSD.org@localhost>
date:      Fri Feb 11 02:09:39 2005 +0000

description:
remove redundant initialization of minaddr for uvm_km_suballoc().

diffstat:

 sys/arch/acorn26/acorn26/machdep.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 5800b4017ed1 -r 37fae6cef244 sys/arch/acorn26/acorn26/machdep.c
--- a/sys/arch/acorn26/acorn26/machdep.c        Thu Feb 10 23:42:37 2005 +0000
+++ b/sys/arch/acorn26/acorn26/machdep.c        Fri Feb 11 02:09:39 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.13 2004/02/13 11:36:09 wiz Exp $ */
+/* $NetBSD: machdep.c,v 1.14 2005/02/11 02:09:39 chs Exp $ */
 
 /*-
  * Copyright (c) 1998 Ben Harris
@@ -32,7 +32,7 @@
 
 #include <sys/param.h>
 
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.13 2004/02/13 11:36:09 wiz Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.14 2005/02/11 02:09:39 chs Exp $");
 
 #include <sys/buf.h>
 #include <sys/kernel.h>
@@ -163,7 +163,6 @@
         * Allocate a submap for exec arguments.  This map effectively
         * limits the number of processes exec'ing at any time.
         */
-       minaddr = kernel_map->min_offset;
        exec_map = uvm_km_suballoc(kernel_map, &minaddr, &maxaddr,
                                   NCARGS, VM_MAP_PAGEABLE, FALSE, NULL);
 



Home | Main Index | Thread Index | Old Index