diff options
author | phk <phk@FreeBSD.org> | 1998-08-24 17:47:25 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1998-08-24 17:47:25 +0000 |
commit | 84bd0e157175f6f56ee3203e2b871745690c2142 (patch) | |
tree | eb7ddae27f1be3d6507f8c79d86d8aae3dc7b2bb /sys/miscfs | |
parent | db1aae4f6e08a208a7ed97bbbea3c52d0a49d117 (diff) | |
download | FreeBSD-src-84bd0e157175f6f56ee3203e2b871745690c2142.zip FreeBSD-src-84bd0e157175f6f56ee3203e2b871745690c2142.tar.gz |
Remove the last remaining evidence of B_TAPE.
Reclaim 3 unused bits in b_flags
Diffstat (limited to 'sys/miscfs')
-rw-r--r-- | sys/miscfs/specfs/spec_vnops.c | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/sys/miscfs/specfs/spec_vnops.c b/sys/miscfs/specfs/spec_vnops.c index e94d05f..18748e8 100644 --- a/sys/miscfs/specfs/spec_vnops.c +++ b/sys/miscfs/specfs/spec_vnops.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)spec_vnops.c 8.14 (Berkeley) 5/21/95 - * $Id: spec_vnops.c,v 1.67 1998/07/15 02:32:22 bde Exp $ + * $Id: spec_vnops.c,v 1.68 1998/08/23 11:43:29 bde Exp $ */ #include <sys/param.h> @@ -417,19 +417,9 @@ spec_ioctl(ap) switch (ap->a_vp->v_type) { case VCHR: - return ((*cdevsw[major(dev)]->d_ioctl)(dev, ap->a_command, ap->a_data, - ap->a_fflag, ap->a_p)); - case VBLK: - if (ap->a_command == 0 && (intptr_t)ap->a_data == B_TAPE) - if ((bdevsw[major(dev)]->d_flags & D_TYPEMASK) == - D_TAPE) - return (0); - else - return (1); - return ((*bdevsw[major(dev)]->d_ioctl)(dev, ap->a_command, ap->a_data, - ap->a_fflag, ap->a_p)); - + return ((*cdevsw[major(dev)]->d_ioctl)(dev, ap->a_command, + ap->a_data, ap->a_fflag, ap->a_p)); default: panic("spec_ioctl"); /* NOTREACHED */ |