From f1d19042b082d95f07a0027e596ba2405aa8a9a5 Mon Sep 17 00:00:00 2001 From: Archie Cobbs Date: Mon, 7 Dec 1998 21:58:50 +0000 Subject: The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static and local variables, goto labels, and functions declared but not defined. --- sys/dev/fe/if_fe.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sys/dev/fe') diff --git a/sys/dev/fe/if_fe.c b/sys/dev/fe/if_fe.c index ae8613adaeee0..929d0f7785d81 100644 --- a/sys/dev/fe/if_fe.c +++ b/sys/dev/fe/if_fe.c @@ -21,7 +21,7 @@ */ /* - * $Id: if_fe.c,v 1.42 1998/06/21 16:51:06 bde Exp $ + * $Id: if_fe.c,v 1.43 1998/10/22 05:58:39 bde Exp $ * * Device driver for Fujitsu MB86960A/MB86965A based Ethernet cards. * To be used with FreeBSD 2.x @@ -395,7 +395,6 @@ feinit(struct pccard_devinfo *devi) static void feunload(struct pccard_devinfo *devi) { - struct fe_softc *sc = &fe_softc[devi->isahd.id_unit]; printf("fe%d: unload\n", devi->isahd.id_unit); fe_stop(devi->isahd.id_unit); } @@ -1209,7 +1208,7 @@ fe_probe_gwy ( DEVICE * dev, struct fe_softc * sc ) static int fe_probe_mbh ( DEVICE * dev, struct fe_softc * sc ) { - int i,type; + int i; static struct fe_simple_probe_struct probe_table [] = { { FE_DLCR0, 0x09, 0x00 }, -- cgit v1.3