summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pc98')
-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