diff --git a/sys/fs/cd9660/cd9660_vnops.c b/sys/fs/cd9660/cd9660_vnops.c index e8a15e3f86e3..75402008dd39 100644 --- a/sys/fs/cd9660/cd9660_vnops.c +++ b/sys/fs/cd9660/cd9660_vnops.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)cd9660_vnops.c 8.19 (Berkeley) 5/27/95 - * $Id: cd9660_vnops.c,v 1.33 1997/04/10 15:05:26 bde Exp $ + * $Id: cd9660_vnops.c,v 1.34 1997/04/14 18:15:47 phk Exp $ */ #include @@ -80,25 +80,6 @@ static int cd9660_strategy __P((struct vop_strategy_args *)); static int cd9660_print __P((struct vop_print_args *)); static int cd9660_islocked __P((struct vop_islocked_args *)); -#if 0 -/* - * Mknod vnode call - * Actually remap the device number - */ -static int -cd9660_mknod(ndp, vap, cred, p) - struct nameidata *ndp; - struct ucred *cred; - struct vattr *vap; - struct proc *p; -{ - free(ndp->ni_pnbuf, M_NAMEI); - vput(ndp->ni_dvp); - vput(ndp->ni_vp); - return (EINVAL); -} -#endif - /* * Setattr call. Only allowed for block and character special devices. */ diff --git a/sys/isofs/cd9660/cd9660_vnops.c b/sys/isofs/cd9660/cd9660_vnops.c index e8a15e3f86e3..75402008dd39 100644 --- a/sys/isofs/cd9660/cd9660_vnops.c +++ b/sys/isofs/cd9660/cd9660_vnops.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)cd9660_vnops.c 8.19 (Berkeley) 5/27/95 - * $Id: cd9660_vnops.c,v 1.33 1997/04/10 15:05:26 bde Exp $ + * $Id: cd9660_vnops.c,v 1.34 1997/04/14 18:15:47 phk Exp $ */ #include @@ -80,25 +80,6 @@ static int cd9660_strategy __P((struct vop_strategy_args *)); static int cd9660_print __P((struct vop_print_args *)); static int cd9660_islocked __P((struct vop_islocked_args *)); -#if 0 -/* - * Mknod vnode call - * Actually remap the device number - */ -static int -cd9660_mknod(ndp, vap, cred, p) - struct nameidata *ndp; - struct ucred *cred; - struct vattr *vap; - struct proc *p; -{ - free(ndp->ni_pnbuf, M_NAMEI); - vput(ndp->ni_dvp); - vput(ndp->ni_vp); - return (EINVAL); -} -#endif - /* * Setattr call. Only allowed for block and character special devices. */