summaryrefslogtreecommitdiffstats
path: root/sys/dev/scd
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-09-20 17:06:29 +0000
committerphk <phk@FreeBSD.org>1999-09-20 17:06:29 +0000
commit59bdedf6a05dfca2d3a1e662e26f4fe967766c62 (patch)
treeab4c7f15cf0df053e590344c83f99d0345bd7ab6 /sys/dev/scd
parent9099b1bf20932c2e0c9c759308946a5702d6911a (diff)
downloadFreeBSD-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/scd')
-rw-r--r--sys/dev/scd/scd.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/scd/scd.c b/sys/dev/scd/scd.c
index 719c86b..b76c2d6 100644
--- a/sys/dev/scd/scd.c
+++ b/sys/dev/scd/scd.c
@@ -54,7 +54,6 @@
#include <sys/conf.h>
#include <sys/buf.h>
#include <sys/cdio.h>
-#include <sys/dkbad.h>
#include <sys/disklabel.h>
#include <sys/kernel.h>
@@ -435,8 +434,6 @@ scdioctl(dev_t dev, u_long cmd, caddr_t addr, int flags, struct proc *p)
return EIO;
switch (cmd) {
- case DIOCSBAD:
- return EINVAL;
case DIOCGDINFO:
*(struct disklabel *)addr = cd->dlabel;
return 0;
OpenPOWER on IntegriCloud