From 11b53786774252b97e90f3cc690239b032c295bd Mon Sep 17 00:00:00 2001 From: phk Date: Sun, 6 May 2001 17:40:34 +0000 Subject: Remove unneeded devfs_badop() Noticed by: rwatson --- sys/fs/devfs/devfs_vnops.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'sys') 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 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 }, -- cgit v1.1