summaryrefslogtreecommitdiff
path: root/sys/dev/amr
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2003-02-22 10:02:05 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2003-02-22 10:02:05 +0000
commit3512c1b38697382a2841f18157194cbc3f4e661d (patch)
treeb90aa206af593e0b63d7609809ed3ac2ca346237 /sys/dev/amr
parentc3dbde28641b95ee08a7b5765147ae37a251a251 (diff)
Notes
Diffstat (limited to 'sys/dev/amr')
-rw-r--r--sys/dev/amr/amr_disk.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/dev/amr/amr_disk.c b/sys/dev/amr/amr_disk.c
index af489b5fb075..3fc2b74ff92d 100644
--- a/sys/dev/amr/amr_disk.c
+++ b/sys/dev/amr/amr_disk.c
@@ -87,7 +87,6 @@ static int amrd_detach(device_t dev);
static d_open_t amrd_open;
static d_close_t amrd_close;
static d_strategy_t amrd_strategy;
-static d_ioctl_t amrd_ioctl;
#define AMRD_CDEV_MAJOR 133
@@ -96,7 +95,7 @@ static struct cdevsw amrd_cdevsw = {
/* close */ amrd_close,
/* read */ physread,
/* write */ physwrite,
- /* ioctl */ amrd_ioctl,
+ /* ioctl */ noioctl,
/* poll */ nopoll,
/* mmap */ nommap,
/* strategy */ amrd_strategy,
@@ -182,13 +181,6 @@ amrd_close(dev_t dev, int flags, int fmt, d_thread_t *td)
return (0);
}
-static int
-amrd_ioctl(dev_t dev, u_long cmd, caddr_t addr, int32_t flag, d_thread_t *td)
-{
-
- return (ENOTTY);
-}
-
/*
* Read/write routine for a buffer. Finds the proper unit, range checks
* arguments, and schedules the transfer. Does not wait for the transfer