summaryrefslogtreecommitdiffstats
path: root/sys/arm
diff options
context:
space:
mode:
authorloos <loos@FreeBSD.org>2014-01-23 12:02:04 +0000
committerloos <loos@FreeBSD.org>2014-01-23 12:02:04 +0000
commitf516feec90c64635dd3f7e4c6ec41123eaa41651 (patch)
tree2c3cd358d9922f19e6cd150405e08a14d578f7ac /sys/arm
parent31820682b51229f8d751da6265f356ae29aa4f35 (diff)
downloadFreeBSD-src-f516feec90c64635dd3f7e4c6ec41123eaa41651.zip
FreeBSD-src-f516feec90c64635dd3f7e4c6ec41123eaa41651.tar.gz
MFC r257127:
Remove all the instances of '#undef DEBUG' from kernel. Suggested by: rpaulo Approved by: adrian (mentor)
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_gpio.c2
-rw-r--r--sys/arm/lpc/if_lpe.c3
-rw-r--r--sys/arm/lpc/lpc_mmc.c3
3 files changed, 0 insertions, 8 deletions
diff --git a/sys/arm/broadcom/bcm2835/bcm2835_gpio.c b/sys/arm/broadcom/bcm2835/bcm2835_gpio.c
index 5fb0ea0..9c5f5cd 100644
--- a/sys/arm/broadcom/bcm2835/bcm2835_gpio.c
+++ b/sys/arm/broadcom/bcm2835/bcm2835_gpio.c
@@ -55,8 +55,6 @@ __FBSDID("$FreeBSD$");
#include "gpio_if.h"
-#undef DEBUG
-
#ifdef DEBUG
#define dprintf(fmt, args...) do { printf("%s(): ", __func__); \
printf(fmt,##args); } while (0)
diff --git a/sys/arm/lpc/if_lpe.c b/sys/arm/lpc/if_lpe.c
index e83b0a5..f8a8659 100644
--- a/sys/arm/lpc/if_lpe.c
+++ b/sys/arm/lpc/if_lpe.c
@@ -65,9 +65,6 @@ __FBSDID("$FreeBSD$");
#include "miibus_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/arm/lpc/lpc_mmc.c b/sys/arm/lpc/lpc_mmc.c
index 2e7473c..3aa6d47 100644
--- a/sys/arm/lpc/lpc_mmc.c
+++ b/sys/arm/lpc/lpc_mmc.c
@@ -64,9 +64,6 @@ __FBSDID("$FreeBSD$");
#include <arm/lpc/lpcreg.h>
#include <arm/lpc/lpcvar.h>
-#define DEBUG
-#undef DEBUG
-
#ifdef DEBUG
#define debugf(fmt, args...) do { printf("%s(): ", __func__); \
printf(fmt,##args); } while (0)
OpenPOWER on IntegriCloud