diff options
author | phk <phk@FreeBSD.org> | 1999-09-20 17:06:29 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1999-09-20 17:06:29 +0000 |
commit | 59bdedf6a05dfca2d3a1e662e26f4fe967766c62 (patch) | |
tree | ab4c7f15cf0df053e590344c83f99d0345bd7ab6 /sys/dev/mcd | |
parent | 9099b1bf20932c2e0c9c759308946a5702d6911a (diff) | |
download | FreeBSD-src-59bdedf6a05dfca2d3a1e662e26f4fe967766c62.zip FreeBSD-src-59bdedf6a05dfca2d3a1e662e26f4fe967766c62.tar.gz |
Trying to set BAD144 handling on a CD is sufficiently "Dont Do That
then" that we don't need to give the ioctl special treatment.
Diffstat (limited to 'sys/dev/mcd')
-rw-r--r-- | sys/dev/mcd/mcd.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/mcd/mcd.c b/sys/dev/mcd/mcd.c index 19f35e6..b49cd55 100644 --- a/sys/dev/mcd/mcd.c +++ b/sys/dev/mcd/mcd.c @@ -52,7 +52,6 @@ static const char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore"; #include <sys/fcntl.h> #include <sys/buf.h> #include <sys/cdio.h> -#include <sys/dkbad.h> #include <sys/disklabel.h> #include <sys/kernel.h> @@ -580,8 +579,6 @@ MCD_TRACE("ioctl called 0x%lx\n", cmd); } switch (cmd) { - case DIOCSBAD: - return EINVAL; case DIOCGDINFO: *(struct disklabel *) addr = cd->dlabel; return 0; |