summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormk <mk@openbsd.org>2007-08-14 07:16:26 +0000
committermk <mk@openbsd.org>2007-08-14 07:16:26 +0000
commit68565a92fab32166297b766a8623750bbb19c383 (patch)
tree71952d079ec296f39a9441e07d5af362ececddd0
parentReplace bus_space_write/read_2 loops in cmd req/rsp routines with (diff)
downloadwireguard-openbsd-68565a92fab32166297b766a8623750bbb19c383.tar.xz
wireguard-openbsd-68565a92fab32166297b766a8623750bbb19c383.zip
I forgot to remove the UNIT macro when the wdt char device was removed
long ago.
-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)
{