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/if_le.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/if_le.c')
-rw-r--r-- | sys/i386/isa/if_le.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/i386/isa/if_le.c b/sys/i386/isa/if_le.c index 208f24a..0151a89 100644 --- a/sys/i386/isa/if_le.c +++ b/sys/i386/isa/if_le.c @@ -21,7 +21,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_le.c,v 1.20 1995/10/13 19:47:49 wollman Exp $ + * $Id: if_le.c,v 1.21 1995/10/26 20:29:48 julian Exp $ */ /* @@ -853,8 +853,7 @@ lemac_probe( const le_board_t *bd, int *msize) { - int irq, portval, cksum; - long membase; + int irq, portval; LE_OUTB(sc, LEMAC_REG_IOP, LEMAC_IOP_EEINIT); DELAY(LEMAC_EEP_DELAY); @@ -981,7 +980,7 @@ lemac_init( int unit) { le_softc_t *sc = &le_softc[unit]; - int regval, s; + int s; if ((sc->le_flags & IFF_UP) == 0) return; @@ -1081,7 +1080,6 @@ lemac_rne_intr( le_softc_t *sc) { int rxcount, rxlen, rxpg; - struct mbuf *m; u_char *rxptr; lemac_rne_intrs++; |