Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Remove unnecessary code.



details:   https://anonhg.NetBSD.org/src/rev/86aa48af989f
branches:  trunk
changeset: 537638:86aa48af989f
user:      junyoung <junyoung%NetBSD.org@localhost>
date:      Fri Oct 04 03:17:37 2002 +0000

description:
Remove unnecessary code.

diffstat:

 sys/kern/exec_elf32.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 80a48aebcc85 -r 86aa48af989f sys/kern/exec_elf32.c
--- a/sys/kern/exec_elf32.c     Fri Oct 04 03:17:00 2002 +0000
+++ b/sys/kern/exec_elf32.c     Fri Oct 04 03:17:37 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: exec_elf32.c,v 1.74 2002/09/27 15:37:42 provos Exp $   */
+/*     $NetBSD: exec_elf32.c,v 1.75 2002/10/04 03:17:37 junyoung Exp $ */
 
 /*-
  * Copyright (c) 1994, 2000 The NetBSD Foundation, Inc.
@@ -64,7 +64,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: exec_elf32.c,v 1.74 2002/09/27 15:37:42 provos Exp $");
+__KERNEL_RCSID(1, "$NetBSD: exec_elf32.c,v 1.75 2002/10/04 03:17:37 junyoung Exp $");
 
 /* If not included by exec_elf64.c, ELFSIZE won't be defined. */
 #ifndef ELFSIZE
@@ -611,7 +611,6 @@
                        FREE((char *)ap, M_TEMP);
                        goto bad;
                }
-               pos += phsize;
                ap->arg_phaddr = phdr;
 
                ap->arg_phentsize = eh->e_phentsize;



Home | Main Index | Thread Index | Old Index