summaryrefslogtreecommitdiffstats
path: root/sys/dev/fdc
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/fdc')
-rw-r--r--sys/dev/fdc/fdc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c
index 6c6be92..9df0b99 100644
--- a/sys/dev/fdc/fdc.c
+++ b/sys/dev/fdc/fdc.c
@@ -2607,7 +2607,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));
@@ -2722,7 +2721,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