summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2011-12-30 04:00:31 +0000
committermarcel <marcel@FreeBSD.org>2011-12-30 04:00:31 +0000
commitca7ad903dc7d84736e5be31d5285163cf16e4f48 (patch)
treea22f1f3297609ba8a03df68c08049f5c4ddbb990
parent904a99796ffef9b6ec5aafbc90edc18de2edcc62 (diff)
downloadFreeBSD-src-ca7ad903dc7d84736e5be31d5285163cf16e4f48.zip
FreeBSD-src-ca7ad903dc7d84736e5be31d5285163cf16e4f48.tar.gz
DEBUG is a kernel option. Don't define it here, as it breaks LINT.
Since DEBUG was subsequently undefined, this is just debugging left- over.
-rw-r--r--sys/dev/fdt/fdt_pci.c3
-rw-r--r--sys/dev/fdt/fdtbus.c3
-rw-r--r--sys/dev/fdt/simplebus.c3
3 files changed, 0 insertions, 9 deletions
diff --git a/sys/dev/fdt/fdt_pci.c b/sys/dev/fdt/fdt_pci.c
index 14aa270..7f0ddd3 100644
--- a/sys/dev/fdt/fdt_pci.c
+++ b/sys/dev/fdt/fdt_pci.c
@@ -46,9 +46,6 @@ __FBSDID("$FreeBSD$");
#include "ofw_bus_if.h"
#include "pcib_if.h"
-#define DEBUG
-#undef DEBUG
-
#ifdef DEBUG
#define debugf(fmt, args...) do { printf("%s(): ", __func__); \
printf(fmt,##args); } while (0)
diff --git a/sys/dev/fdt/fdtbus.c b/sys/dev/fdt/fdtbus.c
index 50db7cd..577b159 100644
--- a/sys/dev/fdt/fdtbus.c
+++ b/sys/dev/fdt/fdtbus.c
@@ -46,9 +46,6 @@ __FBSDID("$FreeBSD$");
#include "fdt_common.h"
#include "ofw_bus_if.h"
-#define DEBUG
-#undef DEBUG
-
#ifdef DEBUG
#define debugf(fmt, args...) do { printf("%s(): ", __func__); \
printf(fmt,##args); } while (0)
diff --git a/sys/dev/fdt/simplebus.c b/sys/dev/fdt/simplebus.c
index 3fa1dd8..e6887b4 100644
--- a/sys/dev/fdt/simplebus.c
+++ b/sys/dev/fdt/simplebus.c
@@ -49,9 +49,6 @@ __FBSDID("$FreeBSD$");
#include "fdt_common.h"
#include "ofw_bus_if.h"
-#define DEBUG
-#undef DEBUG
-
#ifdef DEBUG
#define debugf(fmt, args...) do { printf("%s(): ", __func__); \
printf(fmt,##args); } while (0)
OpenPOWER on IntegriCloud