summaryrefslogtreecommitdiffstats
path: root/sys/dev/si
diff options
context:
space:
mode:
authorgpalmer <gpalmer@FreeBSD.org>1996-06-12 05:11:41 +0000
committergpalmer <gpalmer@FreeBSD.org>1996-06-12 05:11:41 +0000
commit57c3ebc617f6ed31240847c6fce74931a372824c (patch)
treec727af841ff654969571e10a8dc92e2a987cd0c2 /sys/dev/si
parentd356aa8b627cecbc5a3a5e98327366686498962d (diff)
downloadFreeBSD-src-57c3ebc617f6ed31240847c6fce74931a372824c.zip
FreeBSD-src-57c3ebc617f6ed31240847c6fce74931a372824c.tar.gz
Clean up -Wunused warnings.
Reviewed by: bde
Diffstat (limited to 'sys/dev/si')
-rw-r--r--sys/dev/si/si.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/sys/dev/si/si.c b/sys/dev/si/si.c
index b9498c4..076f12e 100644
--- a/sys/dev/si/si.c
+++ b/sys/dev/si/si.c
@@ -30,13 +30,13 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHORS BE LIABLE.
*
- * $Id: si.c,v 1.41 1996/05/30 23:41:35 peter Exp $
+ * $Id: si.c,v 1.42 1996/06/08 10:18:12 peter Exp $
*/
#ifndef lint
-static char si_copyright1[] = "@(#) (C) Specialix International, 1990,1992",
- si_copyright2[] = "@(#) (C) Andy Rutter 1993",
- si_copyright3[] = "@(#) (C) Peter Wemm 1995";
+static const char si_copyright1[] = "@(#) (C) Specialix International, 1990,1992",
+ si_copyright2[] = "@(#) (C) Andy Rutter 1993",
+ si_copyright3[] = "@(#) (C) Peter Wemm 1995";
#endif /* not lint */
#include <sys/param.h>
@@ -234,7 +234,6 @@ static int si_pollrate; /* in addition to irq */
SYSCTL_INT(_machdep, OID_AUTO, si_pollrate, CTLFLAG_RD, &si_pollrate, 0, "");
static int init_finished = 0;
-static int fastpoll = 0;
static void si_poll __P((void *));
#endif
@@ -494,9 +493,6 @@ siattach(id)
struct speedtab *spt;
int nmodule, nport, x, y;
int uart_type;
-#ifdef DEVFS
- char name[32];
-#endif
DPRINT((0, DBG_AUTOBOOT, "si%d: siattach\n", id->id_unit));
OpenPOWER on IntegriCloud