summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMichael Knudsen <mk@cvs.openbsd.org>2007-08-14 07:16:27 +0000
committerMichael Knudsen <mk@cvs.openbsd.org>2007-08-14 07:16:27 +0000
commit5f623672c4d648cf41c53ea3267bd7794e7f9d2a (patch)
tree2561798f34cafaa911dd05466165673f95705954 /sys/dev
parent39bf58a22eb6ebb4465510a99ecfe724a17f5822 (diff)
I forgot to remove the UNIT macro when the wdt char device was removed
long ago.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/wdt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/pci/wdt.c b/sys/dev/pci/wdt.c
index e0ad6a7f0e7..1c36a1c7350 100644
--- a/sys/dev/pci/wdt.c
+++ b/sys/dev/pci/wdt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wdt.c,v 1.15 2007/08/01 13:07:08 mk Exp $ */
+/* $OpenBSD: wdt.c,v 1.16 2007/08/14 07:16:26 mk Exp $ */
/*-
* Copyright (c) 1998,1999 Alex Nash
@@ -101,8 +101,6 @@ const struct pci_matchid wdt_devices[] = {
#define WDT_TEMPERATURE 5
#define WDT_STOP_BUZZER 5
-#define UNIT(dev) (minor(dev))
-
int
wdtprobe(struct device *parent, void *match, void *aux)
{