Source-Changes-HG archive

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

[src/trunk]: src/sys/miscfs/procfs remove meaningless line (variable overwrit...



details:   https://anonhg.NetBSD.org/src/rev/8e3a887d76f3
branches:  trunk
changeset: 551474:8e3a887d76f3
user:      itojun <itojun%NetBSD.org@localhost>
date:      Sun Sep 07 00:25:04 2003 +0000

description:
remove meaningless line (variable overwritten 2 lines below)

diffstat:

 sys/miscfs/procfs/procfs_vnops.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r a0ddf8a588f8 -r 8e3a887d76f3 sys/miscfs/procfs/procfs_vnops.c
--- a/sys/miscfs/procfs/procfs_vnops.c  Sun Sep 07 00:06:05 2003 +0000
+++ b/sys/miscfs/procfs/procfs_vnops.c  Sun Sep 07 00:25:04 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: procfs_vnops.c,v 1.107 2003/08/07 16:32:43 agc Exp $   */
+/*     $NetBSD: procfs_vnops.c,v 1.108 2003/09/07 00:25:04 itojun Exp $        */
 
 /*
  * Copyright (c) 1993, 1995
@@ -76,7 +76,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: procfs_vnops.c,v 1.107 2003/08/07 16:32:43 agc Exp $");
+__KERNEL_RCSID(0, "$NetBSD: procfs_vnops.c,v 1.108 2003/09/07 00:25:04 itojun Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1114,7 +1114,6 @@
 
                for (; i < 2 && uio->uio_resid >= UIO_MX; i++) {
                        pt = &proc_targets[i];
-                       d.d_fileno = (pfs->pfs_pid << 8) + i;
                        d.d_namlen = pt->pt_namlen;
                        d.d_fileno = PROCFS_FILENO(pfs->pfs_pid,
                            pt->pt_pfstype, -1);



Home | Main Index | Thread Index | Old Index