diff --git a/sys/miscfs/procfs/procfs.h b/sys/miscfs/procfs/procfs.h index ea13f0174630..0e2be94c7f0e 100644 --- a/sys/miscfs/procfs/procfs.h +++ b/sys/miscfs/procfs/procfs.h @@ -1,4 +1,4 @@ -/* $NetBSD: procfs.h,v 1.32 2001/01/18 20:28:21 jdolecek Exp $ */ +/* $NetBSD: procfs.h,v 1.33 2001/01/25 12:44:56 jdolecek Exp $ */ /* * Copyright (c) 1993 Jan-Simon Pendry @@ -103,12 +103,10 @@ struct procfs_args { struct procfsmount { void *pmnt_exechook; - struct mount *pmnt_mp; int pmnt_flags; }; #define VFSTOPROC(mp) ((struct procfsmount *)(mp)->mnt_data) -#define PROCTOVFS(pp) ((pp)->pmnt_mp) /* * Convert between pfsnode vnode diff --git a/sys/miscfs/procfs/procfs_vfsops.c b/sys/miscfs/procfs/procfs_vfsops.c index bbe5375f2274..d6ff392f1333 100644 --- a/sys/miscfs/procfs/procfs_vfsops.c +++ b/sys/miscfs/procfs/procfs_vfsops.c @@ -1,4 +1,4 @@ -/* $NetBSD: procfs_vfsops.c,v 1.37 2001/01/22 12:17:39 jdolecek Exp $ */ +/* $NetBSD: procfs_vfsops.c,v 1.38 2001/01/25 12:44:56 jdolecek Exp $ */ /* * Copyright (c) 1993 Jan-Simon Pendry @@ -130,7 +130,6 @@ procfs_mount(mp, path, data, ndp, p) memcpy(mp->mnt_stat.f_mntfromname, "procfs", sizeof("procfs")); pmnt->pmnt_exechook = exechook_establish(procfs_revoke_vnodes, mp); - pmnt->pmnt_mp = mp; pmnt->pmnt_flags = args.flags; return (0);