diff options
author | phk <phk@FreeBSD.org> | 2001-05-06 17:40:34 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2001-05-06 17:40:34 +0000 |
commit | 11b53786774252b97e90f3cc690239b032c295bd (patch) | |
tree | fb97fdd3697edb5db0831a598130901857b2c758 /sys | |
parent | 293bc407b07a98d88b5bb9de46d3ebd901cf3c5e (diff) | |
download | FreeBSD-src-11b53786774252b97e90f3cc690239b032c295bd.zip FreeBSD-src-11b53786774252b97e90f3cc690239b032c295bd.tar.gz |
Remove unneeded devfs_badop()
Noticed by: rwatson
Diffstat (limited to 'sys')
-rw-r--r-- | sys/fs/devfs/devfs_vnops.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/fs/devfs/devfs_vnops.c b/sys/fs/devfs/devfs_vnops.c index b0f2886..80dfad8 100644 --- a/sys/fs/devfs/devfs_vnops.c +++ b/sys/fs/devfs/devfs_vnops.c @@ -52,7 +52,6 @@ #include <fs/devfs/devfs.h> static int devfs_access __P((struct vop_access_args *ap)); -static int devfs_badop __P((void)); static int devfs_getattr __P((struct vop_getattr_args *ap)); static int devfs_lookupx __P((struct vop_lookup_args *ap)); static int devfs_print __P((struct vop_print_args *ap)); @@ -673,15 +672,6 @@ devfs_symlink(ap) return (0); } -/* - * DEVFS "should never get here" operation - */ -static int -devfs_badop() -{ - return (EIO); -} - static vop_t **devfs_vnodeop_p; static struct vnodeopv_entry_desc devfs_vnodeop_entries[] = { { &vop_default_desc, (vop_t *) vop_defaultop }, |