From 85061b76b7c21f4e9b616bff071dcc0522c61b4b Mon Sep 17 00:00:00 2001 From: nyan Date: Sun, 1 Jun 2003 04:46:30 +0000 Subject: Merged from sys/isa/fd.c revision 1.250. --- sys/pc98/cbus/fdc.c | 2 -- sys/pc98/pc98/fd.c | 2 -- 2 files changed, 4 deletions(-) (limited to 'sys/pc98') 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) { -- cgit v1.1