summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2012-05-12 18:02:34 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2012-05-12 18:02:34 +0000
commit570274fffc1f566931cd116298ed4f96f4e10586 (patch)
tree4d0c70e86d221de0bbf312fd0d60478cacf002b2 /sys/dev/ic
parent1da384c49ef7094fd8ff7a550995416a9e910bc6 (diff)
Remove unused variable.
ok mpi@, miod@
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/com.c4
-rw-r--r--sys/dev/ic/comvar.h3
2 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/ic/com.c b/sys/dev/ic/com.c
index 185911fd151..5ebea29d72b 100644
--- a/sys/dev/ic/com.c
+++ b/sys/dev/ic/com.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: com.c,v 1.148 2011/07/03 15:47:16 matthew Exp $ */
+/* $OpenBSD: com.c,v 1.149 2012/05/12 18:02:33 kettenis Exp $ */
/* $NetBSD: com.c,v 1.82.4.1 1996/06/02 09:08:00 mrg Exp $ */
/*
@@ -123,7 +123,6 @@ bus_addr_t comsiraddr;
#ifdef COM_CONSOLE
int comconsfreq;
int comconsrate = TTYDEF_SPEED;
-int comconsinit;
bus_addr_t comconsaddr = 0;
int comconsattached;
bus_space_tag_t comconsiot;
@@ -1436,7 +1435,6 @@ comcninit(struct consdev *cp)
comconsfreq = COM_FREQ;
cominit(comconsiot, comconsioh, comconsrate, comconsfreq);
- comconsinit = 0;
}
int
diff --git a/sys/dev/ic/comvar.h b/sys/dev/ic/comvar.h
index 3e80241e9f2..893ffde9a21 100644
--- a/sys/dev/ic/comvar.h
+++ b/sys/dev/ic/comvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: comvar.h,v 1.50 2010/08/06 21:04:14 kettenis Exp $ */
+/* $OpenBSD: comvar.h,v 1.51 2012/05/12 18:02:33 kettenis Exp $ */
/* $NetBSD: comvar.h,v 1.5 1996/05/05 19:50:47 christos Exp $ */
/*
@@ -174,7 +174,6 @@ extern int comconsrate;
extern int comconsfreq;
extern bus_addr_t comconsaddr;
extern bus_addr_t comsiraddr;
-extern int comconsinit;
extern int comconsattached;
extern bus_space_tag_t comconsiot;
extern bus_space_handle_t comconsioh;