diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1997-06-25 13:04:21 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1997-06-25 13:04:21 +0000 |
commit | 1436113b5dd8dbff54bd33dac8e7b89730e55ddf (patch) | |
tree | 5267a49003d29416cfb558d725691fbcdcbd784f /sys/arch | |
parent | 723826d4045810f6f56a9c0be4438d597815e3b1 (diff) |
Kill unused variables.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sparc/dev/fd.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/sys/arch/sparc/dev/fd.c b/sys/arch/sparc/dev/fd.c index 92db72bac52..456ab415b6e 100644 --- a/sys/arch/sparc/dev/fd.c +++ b/sys/arch/sparc/dev/fd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fd.c,v 1.18 1997/06/24 09:50:56 downsj Exp $ */ +/* $OpenBSD: fd.c,v 1.19 1997/06/25 13:04:20 downsj Exp $ */ /* $NetBSD: fd.c,v 1.51 1997/05/24 20:16:19 pk Exp $ */ /*- @@ -996,7 +996,7 @@ fdcstatus(dv, n, s) char *s; { struct fdc_softc *fdc = (void *)dv->dv_parent; - char bits[64]; + #if 0 /* * A 82072 seems to return <invalid command> on @@ -1521,7 +1521,6 @@ void fdcretry(fdc) struct fdc_softc *fdc; { - char bits[64]; struct fd_softc *fd; struct buf *bp; @@ -1601,11 +1600,6 @@ fdioctl(dev, cmd, addr, flag, p) struct proc *p; { struct fd_softc *fd = fd_cd.cd_devs[FDUNIT(dev)]; - struct fdformat_parms *form_parms; - struct fdformat_cmd *form_cmd; - struct fd_formb fd_formbbuf; - int il[FD_MAX_NSEC + 1]; - int i, j; int error; switch (cmd) { @@ -1786,7 +1780,7 @@ void fdgetdisklabel(dev) dev_t dev; { - int unit = FDUNIT(dev), i; + int unit = FDUNIT(dev); struct fd_softc *fd = fd_cd.cd_devs[unit]; struct disklabel *lp = fd->sc_dk.dk_label; struct cpu_disklabel *clp = fd->sc_dk.dk_cpulabel; |