summaryrefslogtreecommitdiff
path: root/sys/miscfs
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2008-04-14 10:15:51 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2008-04-14 10:15:51 +0000
commitc0cf755fb2fd565c854bf751133e94809e244127 (patch)
treecd1a66a81126633c3798793632a1eb38a9c9b709 /sys/miscfs
parentf73d4a04a08db0c384b3039eb55222a36c31f2e4 (diff)
garbage collect the now unused spec_ebadf();
ok dlg@
Diffstat (limited to 'sys/miscfs')
-rw-r--r--sys/miscfs/specfs/spec_vnops.c13
-rw-r--r--sys/miscfs/specfs/specdev.h3
2 files changed, 2 insertions, 14 deletions
diff --git a/sys/miscfs/specfs/spec_vnops.c b/sys/miscfs/specfs/spec_vnops.c
index 86cd86e0a27..d832813d253 100644
--- a/sys/miscfs/specfs/spec_vnops.c
+++ b/sys/miscfs/specfs/spec_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: spec_vnops.c,v 1.46 2008/04/12 13:32:03 thib Exp $ */
+/* $OpenBSD: spec_vnops.c,v 1.47 2008/04/14 10:15:50 thib Exp $ */
/* $NetBSD: spec_vnops.c,v 1.29 1996/04/22 01:42:38 christos Exp $ */
/*
@@ -681,17 +681,6 @@ spec_advlock(void *v)
}
/*
- * Special device failed operation
- */
-/*ARGSUSED*/
-int
-spec_ebadf(void *v)
-{
-
- return (EBADF);
-}
-
-/*
* Special device bad operation
*/
/*ARGSUSED*/
diff --git a/sys/miscfs/specfs/specdev.h b/sys/miscfs/specfs/specdev.h
index cba4680641a..98ab6ab3310 100644
--- a/sys/miscfs/specfs/specdev.h
+++ b/sys/miscfs/specfs/specdev.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: specdev.h,v 1.23 2008/04/12 13:32:03 thib Exp $ */
+/* $OpenBSD: specdev.h,v 1.24 2008/04/14 10:15:50 thib Exp $ */
/* $NetBSD: specdev.h,v 1.12 1996/02/13 13:13:01 mycroft Exp $ */
/*
@@ -90,7 +90,6 @@ struct buf;
struct uio;
int spec_badop(void *);
-int spec_ebadf(void *);
int spec_getattr(void *);
int spec_setattr(void *);
int spec_access(void *);