summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2006-11-02 02:08:18 +0000
committerdlg <dlg@openbsd.org>2006-11-02 02:08:18 +0000
commitb1a5102b010f26c3aeaa6850e684803dbd296e6a (patch)
treeac3e71ea45cabb6536331d128ce4e6b1039d7698
parentCheck for valid character before truncating string. (diff)
downloadwireguard-openbsd-b1a5102b010f26c3aeaa6850e684803dbd296e6a.tar.xz
wireguard-openbsd-b1a5102b010f26c3aeaa6850e684803dbd296e6a.zip
VIC_DEBUG is useless, so it goes away
-rw-r--r--sys/dev/pci/if_vic.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/dev/pci/if_vic.c b/sys/dev/pci/if_vic.c
index e886f6021fc..29e080b7478 100644
--- a/sys/dev/pci/if_vic.c
+++ b/sys/dev/pci/if_vic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_vic.c,v 1.19 2006/11/02 02:01:36 dlg Exp $ */
+/* $OpenBSD: if_vic.c,v 1.20 2006/11/02 02:08:18 dlg Exp $ */
/*
* Copyright (c) 2006 Reyk Floeter <reyk@openbsd.org>
@@ -55,13 +55,6 @@
#include <dev/pci/if_vicreg.h>
-#ifdef VIC_DEBUG
-int vic_debug = 0;
-#define DPRINTF(x...) do { if (vic_debug) printf(x); } while (0)
-#else
-#define DPRINTF(x...)
-#endif
-
#define VIC_PCI_BAR PCI_MAPREG_START /* Base Address Register */
#define VIC_NBUF 100