diff options
author | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 2001-06-23 02:14:28 +0000 |
---|---|---|
committer | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 2001-06-23 02:14:28 +0000 |
commit | c7b0cb75249b0df0ca9bfb325be9fa4b8b6551a4 (patch) | |
tree | 298acc3eba5c1ca64f235e049c108f1279832ed1 /sys/miscfs/procfs/procfs_vnops.c | |
parent | a9c9779257011f84316d4a221805590d9ec95a15 (diff) |
Get rid of several unused vnode operations
Diffstat (limited to 'sys/miscfs/procfs/procfs_vnops.c')
-rw-r--r-- | sys/miscfs/procfs/procfs_vnops.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/sys/miscfs/procfs/procfs_vnops.c b/sys/miscfs/procfs/procfs_vnops.c index 5fbf6096f28..dcb5f794428 100644 --- a/sys/miscfs/procfs/procfs_vnops.c +++ b/sys/miscfs/procfs/procfs_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: procfs_vnops.c,v 1.18 2001/05/24 07:32:43 aaron Exp $ */ +/* $OpenBSD: procfs_vnops.c,v 1.19 2001/06/23 02:14:25 csapuntz Exp $ */ /* $NetBSD: procfs_vnops.c,v 1.40 1996/03/16 23:52:55 christos Exp $ */ /* @@ -134,9 +134,7 @@ int procfs_setattr __P((void *)); #define procfs_write procfs_rw int procfs_ioctl __P((void *)); #define procfs_select procfs_badop -#define procfs_mmap procfs_badop #define procfs_fsync procfs_badop -#define procfs_seek procfs_badop #define procfs_remove procfs_badop int procfs_link __P((void *)); #define procfs_rename procfs_badop @@ -155,11 +153,6 @@ int procfs_print __P((void *)); int procfs_pathconf __P((void *)); #define procfs_islocked nullop #define procfs_advlock procfs_badop -#define procfs_blkatoff procfs_badop -#define procfs_valloc procfs_badop -#define procfs_vfree nullop -#define procfs_truncate procfs_badop -#define procfs_update nullop static pid_t atopid __P((const char *, u_int)); @@ -181,9 +174,7 @@ struct vnodeopv_entry_desc procfs_vnodeop_entries[] = { { &vop_write_desc, procfs_write }, /* write */ { &vop_ioctl_desc, procfs_ioctl }, /* ioctl */ { &vop_select_desc, procfs_select }, /* select */ - { &vop_mmap_desc, procfs_mmap }, /* mmap */ { &vop_fsync_desc, procfs_fsync }, /* fsync */ - { &vop_seek_desc, procfs_seek }, /* seek */ { &vop_remove_desc, procfs_remove }, /* remove */ { &vop_link_desc, procfs_link }, /* link */ { &vop_rename_desc, procfs_rename }, /* rename */ @@ -203,11 +194,6 @@ struct vnodeopv_entry_desc procfs_vnodeop_entries[] = { { &vop_islocked_desc, procfs_islocked }, /* islocked */ { &vop_pathconf_desc, procfs_pathconf }, /* pathconf */ { &vop_advlock_desc, procfs_advlock }, /* advlock */ - { &vop_blkatoff_desc, procfs_blkatoff }, /* blkatoff */ - { &vop_valloc_desc, procfs_valloc }, /* valloc */ - { &vop_vfree_desc, procfs_vfree }, /* vfree */ - { &vop_truncate_desc, procfs_truncate }, /* truncate */ - { &vop_update_desc, procfs_update }, /* update */ { (struct vnodeop_desc*)NULL, (int(*) __P((void *)))NULL } }; struct vnodeopv_desc procfs_vnodeop_opv_desc = |