diff options
author | phk <phk@FreeBSD.org> | 1995-01-30 05:31:04 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1995-01-30 05:31:04 +0000 |
commit | a9cb5cddf7857247c4a89a185d7d6a253aa1e23c (patch) | |
tree | 809edd82af818851da0d72746420d75caf943fcf /sys | |
parent | b3ad30810f3c6150ea814de9b14e711e4b01e5ee (diff) | |
download | FreeBSD-src-a9cb5cddf7857247c4a89a185d7d6a253aa1e23c.zip FreeBSD-src-a9cb5cddf7857247c4a89a185d7d6a253aa1e23c.tar.gz |
Warning: vn doesn't work just now. I havn't found out why. This commit
just removes a couple of unused functions.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/vn/vn.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/sys/dev/vn/vn.c b/sys/dev/vn/vn.c index f7cc61a..f4a08c9 100644 --- a/sys/dev/vn/vn.c +++ b/sys/dev/vn/vn.c @@ -131,8 +131,6 @@ int vnopen __P((dev_t dev, int flags, int mode, struct proc *p)); void vnstrategy __P((struct buf *bp)); void vnstart __P((struct vn_softc *vn)); void vniodone __P((struct buf *bp)); -int vnread __P((dev_t dev, struct uio *uio, int flags, struct proc *p)); -int vnwrite __P((dev_t dev, struct uio *uio, int flags, struct proc *p)); int vnioctl __P((dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p)); int vnsetcred __P((struct vn_softc *vn, struct ucred *cred)); void vnthrottle __P((struct vn_softc *vn, struct vnode *vp)); @@ -413,28 +411,6 @@ vniodone(struct buf *bp) splx(s); } -int -vnread(dev_t dev, struct uio *uio, int flags, struct proc *p) -{ - -#ifdef DEBUG - if (vndebug & VDB_FOLLOW) - printf("vnread(%x, %x, %x, %x)\n", dev, uio, flags, p); -#endif - return(physio(vnstrategy, NULL, dev, B_READ, minphys, uio)); -} - -int -vnwrite(dev_t dev, struct uio *uio, int flags, struct proc *p) -{ - -#ifdef DEBUG - if (vndebug & VDB_FOLLOW) - printf("vnwrite(%x, %x, %x, %x)\n", dev, uio, flags, p); -#endif - return(physio(vnstrategy, NULL, dev, B_WRITE, minphys, uio)); -} - /* ARGSUSED */ int vnioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p) |