Merged from sys/isa/fd.c revision 1.250.
This commit is contained in:
parent
b19a8c613b
commit
adeebc533e
@ -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) {
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user