diff options
author | Marcus Glocker <mglocker@cvs.openbsd.org> | 2008-06-13 18:04:57 +0000 |
---|---|---|
committer | Marcus Glocker <mglocker@cvs.openbsd.org> | 2008-06-13 18:04:57 +0000 |
commit | fb15b9f2aa6a465e4d05015b715d62aef4f09e4a (patch) | |
tree | 76992c804f7475aeb104a7fa47aaba0aba55e320 | |
parent | 764bf50c216b86053a345f6eb68d60b78044520f (diff) |
Remove DEBUG #undef's we can turn it on/off in GENERIC like for all
other drivers.
-rw-r--r-- | sys/dev/usb/uvideo.c | 5 | ||||
-rw-r--r-- | sys/dev/video.c | 4 |
2 files changed, 2 insertions, 7 deletions
diff --git a/sys/dev/usb/uvideo.c b/sys/dev/usb/uvideo.c index 493ce9b5a51..d2ee8c5615d 100644 --- a/sys/dev/usb/uvideo.c +++ b/sys/dev/usb/uvideo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvideo.c,v 1.34 2008/06/12 22:16:16 robert Exp $ */ +/* $OpenBSD: uvideo.c,v 1.35 2008/06/13 18:04:56 mglocker Exp $ */ /* * Copyright (c) 2008 Robert Nagy <robert@openbsd.org> @@ -44,9 +44,6 @@ #include <dev/video_if.h> -#undef UVIDEO_DEBUG -#undef UVIDEO_DUMP - #ifdef UVIDEO_DEBUG int uvideo_debug = 1; #define DPRINTF(l, x...) do { if ((l) <= uvideo_debug) printf(x); } while (0) diff --git a/sys/dev/video.c b/sys/dev/video.c index 4ebbbd658de..b45aac8f5a6 100644 --- a/sys/dev/video.c +++ b/sys/dev/video.c @@ -1,4 +1,4 @@ -/* $OpenBSD: video.c,v 1.15 2008/06/13 05:00:32 mglocker Exp $ */ +/* $OpenBSD: video.c,v 1.16 2008/06/13 18:04:56 mglocker Exp $ */ /* * Copyright (c) 2008 Robert Nagy <robert@openbsd.org> * Copyright (c) 2008 Marcus Glocker <mglocker@openbsd.org> @@ -34,8 +34,6 @@ #include <dev/video_if.h> #include <dev/videovar.h> -#undef VIDEO_DEBUG /* XXX remove from here somewhen */ - #ifdef VIDEO_DEBUG #define DPRINTF(x) do { printf x; } while (0) #else |