mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Remove unneeded devfs_badop()
Noticed by: rwatson
This commit is contained in:
parent
b966319db7
commit
6bd2ea83ef
1 changed files with 0 additions and 10 deletions
|
|
@ -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 },
|
||||
|
|
|
|||
Loading…
Reference in a new issue