Fix warning: 568: warning: `portal_badop' defined but not used
This commit is contained in:
parent
89d8e7c754
commit
376d88fdd4
@ -65,7 +65,6 @@
|
||||
|
||||
static int portal_fileid = PORTAL_ROOTFILEID+1;
|
||||
|
||||
static int portal_badop __P((void));
|
||||
static void portal_closefd __P((struct proc *p, int fd));
|
||||
static int portal_connect __P((struct socket *so, struct socket *so2));
|
||||
static int portal_getattr __P((struct vop_getattr_args *ap));
|
||||
@ -559,18 +558,6 @@ portal_print(ap)
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Portal "should never get here" operation
|
||||
*/
|
||||
static int
|
||||
portal_badop()
|
||||
{
|
||||
|
||||
panic("portal: bad op");
|
||||
/* NOTREACHED */
|
||||
}
|
||||
|
||||
vop_t **portal_vnodeop_p;
|
||||
static struct vnodeopv_entry_desc portal_vnodeop_entries[] = {
|
||||
{ &vop_default_desc, (vop_t *) vop_defaultop },
|
||||
|
Loading…
Reference in New Issue
Block a user