summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2010-03-21 07:02:03 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2010-03-21 07:02:03 +0000
commit7bca8df707df7f80d750e3c80f7d9ba7c6c72e25 (patch)
tree7598301033675e541e9ec2897e2df906ebd5d282
parent64a6d272c4b1274169a114cc81b75f728c5b1d2a (diff)
remove definitions of VSCSI_DEBUG stuff. they were never used.
-rw-r--r--sys/dev/vscsi.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/sys/dev/vscsi.c b/sys/dev/vscsi.c
index fc93822860b..9cb2216526e 100644
--- a/sys/dev/vscsi.c
+++ b/sys/dev/vscsi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vscsi.c,v 1.6 2010/03/14 01:43:43 dlg Exp $ */
+/* $OpenBSD: vscsi.c,v 1.7 2010/03/21 07:02:02 dlg Exp $ */
/*
* Copyright (c) 2008 David Gwynne <dlg@openbsd.org>
@@ -36,19 +36,6 @@
#include <dev/vscsivar.h>
-#ifdef VSCSI_DEBUG
-#define VSCSI_D_INIT (1<<0)
-
-int vscsidebug = 0;
-
-#define DPRINTF(_m, _p...) do { \
- if (ISSET(vscsidebug, (_m))) \
- printf(p); \
- } while (0)
-#else
-#define DPRINTF(_m, _p...) /* _m, _p */
-#endif
-
int vscsi_match(struct device *, void *, void *);
void vscsi_attach(struct device *, struct device *, void *);
void vscsi_shutdown(void *);