diff options
author | phk <phk@FreeBSD.org> | 1995-10-28 15:39:31 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1995-10-28 15:39:31 +0000 |
commit | 7fd61cfafdd6b3dee4d468626c6ddb0cfac19d66 (patch) | |
tree | 7a650b2ba047df3a24edf181fde8921e94889edc /sys/i386/isa/tw.c | |
parent | 7b27d202bdb399f2adcb28bf30b22344b83fddc1 (diff) | |
download | FreeBSD-src-7fd61cfafdd6b3dee4d468626c6ddb0cfac19d66.zip FreeBSD-src-7fd61cfafdd6b3dee4d468626c6ddb0cfac19d66.tar.gz |
Remove unused functions and variables, make things static, and other cleanups.
Diffstat (limited to 'sys/i386/isa/tw.c')
-rw-r--r-- | sys/i386/isa/tw.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/i386/isa/tw.c b/sys/i386/isa/tw.c index 91f5350..faaf0e9 100644 --- a/sys/i386/isa/tw.c +++ b/sys/i386/isa/tw.c @@ -353,7 +353,6 @@ int twopen(dev, flag, mode, p) { struct tw_sc *sc = &tw_sc[TWUNIT(dev)]; int s; - int port; s = spltty(); if(sc->sc_state == 0) { @@ -477,8 +476,7 @@ int twselect(dev, rw, p) struct proc *p; { struct tw_sc *sc; - struct proc *pp; - int s, i; + int s; sc = &tw_sc[TWUNIT(dev)]; s = spltty(); @@ -668,7 +666,7 @@ int h, k, cnt; static int wait_for_zero(sc) struct tw_sc *sc; { - int i, old, new, max, cnt; + int i, old, new, max; int port = sc->sc_port + tw_control; old = sc->sc_xphase; |