diff options
author | peter <peter@FreeBSD.org> | 2001-06-15 00:27:21 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2001-06-15 00:27:21 +0000 |
commit | 964d84d5a2347ff7ea73998d77d6a4254c5c8b79 (patch) | |
tree | 56c1e9506be74860a61f8f098bdbcb18273a53b8 /sys/fs/fdescfs | |
parent | c87a44114a6f650a31f96fd93b7da023a0b18fd4 (diff) | |
download | FreeBSD-src-964d84d5a2347ff7ea73998d77d6a4254c5c8b79.zip FreeBSD-src-964d84d5a2347ff7ea73998d77d6a4254c5c8b79.tar.gz |
Fix warning: 552: warning: `fdesc_badop' defined but not used
Diffstat (limited to 'sys/fs/fdescfs')
-rw-r--r-- | sys/fs/fdescfs/fdesc_vnops.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sys/fs/fdescfs/fdesc_vnops.c b/sys/fs/fdescfs/fdesc_vnops.c index cb90212..8d5b95e 100644 --- a/sys/fs/fdescfs/fdesc_vnops.c +++ b/sys/fs/fdescfs/fdesc_vnops.c @@ -72,7 +72,6 @@ static vop_t **fdesc_vnodeop_p; static LIST_HEAD(fdhashhead, fdescnode) *fdhashtbl; static u_long fdhash; -static int fdesc_badop __P((void)); static int fdesc_getattr __P((struct vop_getattr_args *ap)); static int fdesc_inactive __P((struct vop_inactive_args *ap)); static int fdesc_lookup __P((struct vop_lookup_args *ap)); @@ -544,17 +543,6 @@ fdesc_print(ap) return (0); } -/* - * /dev/fd "should never get here" operation - */ -static int -fdesc_badop() -{ - - panic("fdesc: bad op"); - /* NOTREACHED */ -} - static struct vnodeopv_entry_desc fdesc_vnodeop_entries[] = { { &vop_default_desc, (vop_t *) vop_defaultop }, { &vop_access_desc, (vop_t *) vop_null }, |