diff options
author | 2007-05-31 18:22:25 +0000 | |
---|---|---|
committer | 2007-05-31 18:22:25 +0000 | |
commit | 7cb1ef46cd9e621ea675b6b285cfd42ade748a3b (patch) | |
tree | 667d25b559f811aa55c4cc8df09dda130a72b20e | |
parent | remove the scsi task thread, and replace it with the system workq. (diff) | |
download | wireguard-openbsd-7cb1ef46cd9e621ea675b6b285cfd42ade748a3b.tar.xz wireguard-openbsd-7cb1ef46cd9e621ea675b6b285cfd42ade748a3b.zip |
Zap a bunch of unused VT_* tags.
ok tedu@,pedro@
-rw-r--r-- | sys/sys/vnode.h | 14 | ||||
-rw-r--r-- | usr.sbin/procmap/procmap.c | 4 |
2 files changed, 8 insertions, 10 deletions
diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h index bccd2357db3..b4ad6836094 100644 --- a/sys/sys/vnode.h +++ b/sys/sys/vnode.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vnode.h,v 1.85 2007/05/30 04:27:43 beck Exp $ */ +/* $OpenBSD: vnode.h,v 1.86 2007/05/31 18:22:25 thib Exp $ */ /* $NetBSD: vnode.h,v 1.38 1996/02/29 20:59:05 cgd Exp $ */ /* @@ -63,15 +63,15 @@ enum vtype { VNON, VREG, VDIR, VBLK, VCHR, VLNK, VSOCK, VFIFO, VBAD }; * the rest, so don't believe the above comment! */ enum vtagtype { - VT_NON, VT_UFS, VT_NFS, VT_MFS, VT_MSDOSFS, VT_LFS, VT_LOFS, VT_FDESC, - VT_PORTAL, VT_KERNFS, VT_PROCFS, VT_AFS, VT_ISOFS, VT_ADOSFS, VT_EXT2FS, - VT_NCPFS, VT_VFS, VT_XFS, VT_NTFS, VT_UDF + VT_NON, VT_UFS, VT_NFS, VT_MFS, VT_MSDOSFS, + VT_PORTAL, VT_PROCFS, VT_AFS, VT_ISOFS, VT_ADOSFS, + VT_EXT2FS, VT_VFS, VT_XFS, VT_NTFS, VT_UDF }; #define VTAG_NAMES \ - "NON", "UFS", "NFS", "MFS", "MSDOSFS", "LFS", "LOFS", \ - "FDESC", "PORTAL", "KERNFS", "PROCFS", "AFS", "ISOFS", \ - "ADOSFS", "EXT2FS", "NCPFS", "VFS", "XFS", "NTFS", "UDF" + "NON", "UFS", "NFS", "MFS", "MSDOSFS", \ + "PORTAL", "PROCFS", "AFS", "ISOFS", "ADOSFS", \ + "EXT2FS", "VFS", "XFS", "NTFS", "UDF" /* * Each underlying filesystem allocates its own private area and hangs diff --git a/usr.sbin/procmap/procmap.c b/usr.sbin/procmap/procmap.c index 5965d6d8f53..fe724a7788d 100644 --- a/usr.sbin/procmap/procmap.c +++ b/usr.sbin/procmap/procmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: procmap.c,v 1.24 2007/04/26 04:59:39 deraadt Exp $ */ +/* $OpenBSD: procmap.c,v 1.25 2007/05/31 18:22:25 thib Exp $ */ /* $NetBSD: pmap.c,v 1.1 2002/09/01 20:32:44 atatat Exp $ */ /* @@ -612,7 +612,6 @@ dump_vm_map_entry(kvm_t *kd, struct kbit *vmspace, D(vp, vnode)->v_data != NULL) { switch (D(vp, vnode)->v_tag) { case VT_UFS: - case VT_LFS: case VT_EXT2FS: V_DATA_IS(vp, inode, i_dev, i_number); break; @@ -623,7 +622,6 @@ dump_vm_map_entry(kvm_t *kd, struct kbit *vmspace, case VT_NFS: case VT_MFS: case VT_MSDOSFS: - case VT_LOFS: case VT_PORTAL: case VT_PROCFS: case VT_AFS: |