summaryrefslogtreecommitdiff
path: root/sys/ufs
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-05-09 17:04:23 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-05-09 17:04:23 +0000
commit3bdaf765a82035cbe75d228ae8c3a83dcf0ffe9d (patch)
tree2b2dec43fb49d1ba139ed5d960c737135b8307f1 /sys/ufs
parentaf33119781efeaf92c0c8ad3db0f2a37b98d6621 (diff)
unused function; ok pedro
Diffstat (limited to 'sys/ufs')
-rw-r--r--sys/ufs/ufs/ufs_extern.h3
-rw-r--r--sys/ufs/ufs/ufs_vnops.c23
2 files changed, 2 insertions, 24 deletions
diff --git a/sys/ufs/ufs/ufs_extern.h b/sys/ufs/ufs/ufs_extern.h
index 6ffb6f788a5..8043b6472c1 100644
--- a/sys/ufs/ufs/ufs_extern.h
+++ b/sys/ufs/ufs/ufs_extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ufs_extern.h,v 1.27 2007/01/16 17:52:18 thib Exp $ */
+/* $OpenBSD: ufs_extern.h,v 1.28 2007/05/09 17:04:22 deraadt Exp $ */
/* $NetBSD: ufs_extern.h,v 1.5 1996/02/09 22:36:03 christos Exp $ */
/*-
@@ -78,7 +78,6 @@ int ufs_remove(void *);
int ufs_rename(void *);
#define ufs_revoke vop_generic_revoke
int ufs_rmdir(void *);
-int ufs_seek(void *);
int ufs_poll(void *);
int ufs_kqfilter(void *);
int ufs_setattr(void *);
diff --git a/sys/ufs/ufs/ufs_vnops.c b/sys/ufs/ufs/ufs_vnops.c
index d2586466346..e71c59f15d4 100644
--- a/sys/ufs/ufs/ufs_vnops.c
+++ b/sys/ufs/ufs/ufs_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ufs_vnops.c,v 1.78 2007/04/13 17:09:22 thib Exp $ */
+/* $OpenBSD: ufs_vnops.c,v 1.79 2007/05/09 17:04:22 deraadt Exp $ */
/* $NetBSD: ufs_vnops.c,v 1.18 1996/05/11 18:28:04 mycroft Exp $ */
/*
@@ -592,27 +592,6 @@ ufs_poll(void *v)
return (ap->a_events & (POLLIN | POLLOUT | POLLRDNORM | POLLWRNORM));
}
-/*
- * Seek on a file
- *
- * Nothing to do, so just return.
- */
-/* ARGSUSED */
-int
-ufs_seek(void *v)
-{
-#if 0
- struct vop_seek_args /* {
- struct vnode *a_vp;
- off_t a_oldoff;
- off_t a_newoff;
- struct ucred *a_cred;
- } */ *ap = v;
-#endif
-
- return (0);
-}
-
int
ufs_remove(void *v)
{