diff options
author | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2006-07-12 19:56:19 +0000 |
---|---|---|
committer | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2006-07-12 19:56:19 +0000 |
commit | 5afaa496818d4d3fedbbe4cbb5ea1f416f9fcfca (patch) | |
tree | 4628f54a14c7aa1a8cc8324f7c929481497dbe59 | |
parent | 0b25e0707c94a4c51f684511b99945a897476055 (diff) |
zap some unused variables.
the only use was in an #if notyet chunk since '97.
ok miod@
'no objections' pedro@
-rw-r--r-- | sys/arch/vax/mscp/mscp_disk.c | 4 | ||||
-rw-r--r-- | sys/kern/spec_vnops.c | 11 | ||||
-rw-r--r-- | sys/miscfs/specfs/spec_vnops.c | 11 | ||||
-rw-r--r-- | sys/sys/conf.h | 6 |
4 files changed, 5 insertions, 27 deletions
diff --git a/sys/arch/vax/mscp/mscp_disk.c b/sys/arch/vax/mscp/mscp_disk.c index 08520919bc3..01e2baf26aa 100644 --- a/sys/arch/vax/mscp/mscp_disk.c +++ b/sys/arch/vax/mscp/mscp_disk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mscp_disk.c,v 1.16 2006/03/15 20:04:36 miod Exp $ */ +/* $OpenBSD: mscp_disk.c,v 1.17 2006/07/12 19:56:18 thib Exp $ */ /* $NetBSD: mscp_disk.c,v 1.30 2001/11/13 07:38:28 lukem Exp $ */ /* * Copyright (c) 1996 Ludd, University of Lule}, Sweden. @@ -219,7 +219,7 @@ raopen(dev, flag, fmt, p) #if notyet while (ra->ra_state != DK_OPEN) if ((error = tsleep((caddr_t)ra, (PZERO + 1) | PCATCH, - devopn, 0))) { + "devopen", 0))) { splx(s); return (error); } diff --git a/sys/kern/spec_vnops.c b/sys/kern/spec_vnops.c index 6b5558c733f..23b86b9c1c8 100644 --- a/sys/kern/spec_vnops.c +++ b/sys/kern/spec_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: spec_vnops.c,v 1.34 2006/06/02 20:25:09 pedro Exp $ */ +/* $OpenBSD: spec_vnops.c,v 1.35 2006/07/12 19:56:18 thib Exp $ */ /* $NetBSD: spec_vnops.c,v 1.29 1996/04/22 01:42:38 christos Exp $ */ /* @@ -55,15 +55,6 @@ struct vnode *speclisth[SPECHSZ]; -/* symbolic sleep message strings for devices */ -char devopn[] = "devopn"; -char devio[] = "devio"; -char devwait[] = "devwait"; -char devin[] = "devin"; -char devout[] = "devout"; -char devioc[] = "devioc"; -char devcls[] = "devcls"; - int (**spec_vnodeop_p)(void *); struct vnodeopv_entry_desc spec_vnodeop_entries[] = { { &vop_default_desc, vn_default_error }, diff --git a/sys/miscfs/specfs/spec_vnops.c b/sys/miscfs/specfs/spec_vnops.c index 6b5558c733f..23b86b9c1c8 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.34 2006/06/02 20:25:09 pedro Exp $ */ +/* $OpenBSD: spec_vnops.c,v 1.35 2006/07/12 19:56:18 thib Exp $ */ /* $NetBSD: spec_vnops.c,v 1.29 1996/04/22 01:42:38 christos Exp $ */ /* @@ -55,15 +55,6 @@ struct vnode *speclisth[SPECHSZ]; -/* symbolic sleep message strings for devices */ -char devopn[] = "devopn"; -char devio[] = "devio"; -char devwait[] = "devwait"; -char devin[] = "devin"; -char devout[] = "devout"; -char devioc[] = "devioc"; -char devcls[] = "devcls"; - int (**spec_vnodeop_p)(void *); struct vnodeopv_entry_desc spec_vnodeop_entries[] = { { &vop_default_desc, vn_default_error }, diff --git a/sys/sys/conf.h b/sys/sys/conf.h index 50a2dce8f07..cde3b35c5f6 100644 --- a/sys/sys/conf.h +++ b/sys/sys/conf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.h,v 1.79 2006/06/02 20:25:09 pedro Exp $ */ +/* $OpenBSD: conf.h,v 1.80 2006/07/12 19:56:18 thib Exp $ */ /* $NetBSD: conf.h,v 1.33 1996/05/03 20:03:32 christos Exp $ */ /*- @@ -476,10 +476,6 @@ void randomattach(void); (dev_type_stop((*))) enodev, 0, (dev_type_poll((*))) enodev, \ (dev_type_mmap((*))) enodev } -/* symbolic sleep message strings */ -extern char devopn[], devio[], devwait[], devin[], devout[]; -extern char devioc[], devcls[]; - #endif /* |