procfs_readdir: remove a redundant assignment.

This commit is contained in:
yamt 2004-10-04 08:37:06 +00:00
parent 49cfbd0442
commit ef763f0a42
1 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: procfs_vnops.c,v 1.118 2004/10/02 04:28:57 yamt Exp $ */
/* $NetBSD: procfs_vnops.c,v 1.119 2004/10/04 08:37:06 yamt Exp $ */
/*
* Copyright (c) 1993, 1995
@ -76,7 +76,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: procfs_vnops.c,v 1.118 2004/10/02 04:28:57 yamt Exp $");
__KERNEL_RCSID(0, "$NetBSD: procfs_vnops.c,v 1.119 2004/10/04 08:37:06 yamt Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -1273,7 +1273,6 @@ procfs_readdir(v)
/* misc entries. */
if (i >= ctx.idx + nproc_root_targets)
break;
pt = &proc_root_targets[0];
if (i < ctx.idx)
i = ctx.idx;
for (pt = &proc_root_targets[i - ctx.idx];