diff options
author | archie <archie@FreeBSD.org> | 1998-12-07 21:58:50 +0000 |
---|---|---|
committer | archie <archie@FreeBSD.org> | 1998-12-07 21:58:50 +0000 |
commit | 60d13c7a9dd18f720483338ebef03609492ca98c (patch) | |
tree | 5709d8cdab99e3c1cb9ae7c2117627c1031fdf39 /sys/i386/isa/loran.c | |
parent | 2f8d013d96c256b3a48e227aab238e53eb9304cf (diff) | |
download | FreeBSD-src-60d13c7a9dd18f720483338ebef03609492ca98c.zip FreeBSD-src-60d13c7a9dd18f720483338ebef03609492ca98c.tar.gz |
The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static
and local variables, goto labels, and functions declared but not defined.
Diffstat (limited to 'sys/i386/isa/loran.c')
-rw-r--r-- | sys/i386/isa/loran.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/i386/isa/loran.c b/sys/i386/isa/loran.c index 20385bd..4a3f187 100644 --- a/sys/i386/isa/loran.c +++ b/sys/i386/isa/loran.c @@ -6,7 +6,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $Id: loran.c,v 1.11 1998/10/24 19:55:09 phk Exp $ + * $Id: loran.c,v 1.12 1998/12/04 22:54:46 archie Exp $ * * This device-driver helps the userland controlprogram for a LORAN-C * receiver avoid monopolizing the CPU. @@ -204,8 +204,6 @@ static u_int64_t ticker; static u_char par; -static struct datapoint *this, *next; - static MALLOC_DEFINE(M_LORAN, "Loran", "Loran datapoints"); static int loranerror; @@ -317,8 +315,6 @@ loranattach(struct isa_device *isdp) static int loranopen (dev_t dev, int flags, int fmt, struct proc *p) { - u_long ef; - struct datapoint *this; int idx; idx = minor(dev); @@ -595,7 +591,6 @@ loran_get_timecount(struct timecounter *tc) { unsigned count; u_long ef; - u_int high, low; ef = read_eflags(); disable_intr(); |