summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2003-06-01 04:46:30 +0000
committernyan <nyan@FreeBSD.org>2003-06-01 04:46:30 +0000
commit85061b76b7c21f4e9b616bff071dcc0522c61b4b (patch)
tree96278b8196919fb96971ecf0ede09b43a386b001
parentd773af876909eaeff4821aba8c56383c977bce51 (diff)
downloadFreeBSD-src-85061b76b7c21f4e9b616bff071dcc0522c61b4b.zip
FreeBSD-src-85061b76b7c21f4e9b616bff071dcc0522c61b4b.tar.gz
Merged from sys/isa/fd.c revision 1.250.
-rw-r--r--sys/pc98/cbus/fdc.c2
-rw-r--r--sys/pc98/pc98/fd.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/sys/pc98/cbus/fdc.c b/sys/pc98/cbus/fdc.c
index 0b5cda1..a940ccb 100644
--- a/sys/pc98/cbus/fdc.c
+++ b/sys/pc98/cbus/fdc.c
@@ -3155,7 +3155,6 @@ fdioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct thread *td)
fd_p fd;
struct fdc_status *fsp;
struct fdc_readid *rid;
- size_t fdblk;
int error, type;
fdu = FDUNIT(minor(dev));
@@ -3274,7 +3273,6 @@ fdioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct thread *td)
return (EAGAIN);
if (fd->ft == 0)
return (ENXIO);
- fdblk = 128 << fd->ft->secsize;
error = 0;
switch (cmd) {
diff --git a/sys/pc98/pc98/fd.c b/sys/pc98/pc98/fd.c
index 0b5cda1..a940ccb 100644
--- a/sys/pc98/pc98/fd.c
+++ b/sys/pc98/pc98/fd.c
@@ -3155,7 +3155,6 @@ fdioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct thread *td)
fd_p fd;
struct fdc_status *fsp;
struct fdc_readid *rid;
- size_t fdblk;
int error, type;
fdu = FDUNIT(minor(dev));
@@ -3274,7 +3273,6 @@ fdioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct thread *td)
return (EAGAIN);
if (fd->ft == 0)
return (ENXIO);
- fdblk = 128 << fd->ft->secsize;
error = 0;
switch (cmd) {
OpenPOWER on IntegriCloud