aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorLuiz Otavio O Souza <loos@FreeBSD.org>2013-10-25 18:38:44 +0000
committerLuiz Otavio O Souza <loos@FreeBSD.org>2013-10-25 18:38:44 +0000
commit09b2544b714828f2e33d3593fc3c63f1fabb059f (patch)
tree566848be3d05eb3589b2497b4542851aa0928ea0 /sys
parent6ad36cf2c8f7f942223028dd3792828056f360f2 (diff)
Notes
Diffstat (limited to 'sys')
-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
-rw-r--r--sys/boot/uboot/lib/disk.c3
-rw-r--r--sys/boot/uboot/lib/glue.c3
-rw-r--r--sys/dev/cesa/cesa.c2
-rw-r--r--sys/dev/fdt/fdt_slicer.c3
-rw-r--r--sys/powerpc/mpc85xx/fsl_sdhc.c2
8 files changed, 0 insertions, 21 deletions
diff --git a/sys/arm/broadcom/bcm2835/bcm2835_gpio.c b/sys/arm/broadcom/bcm2835/bcm2835_gpio.c
index 26d23592c6d4..70ccbef691af 100644
--- a/sys/arm/broadcom/bcm2835/bcm2835_gpio.c
+++ b/sys/arm/broadcom/bcm2835/bcm2835_gpio.c
@@ -56,8 +56,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 025aa72545cf..6272907db7f9 100644
--- a/sys/arm/lpc/if_lpe.c
+++ b/sys/arm/lpc/if_lpe.c
@@ -64,9 +64,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 5a789f6e2e31..236cb5530b2b 100644
--- a/sys/arm/lpc/lpc_mmc.c
+++ b/sys/arm/lpc/lpc_mmc.c
@@ -65,9 +65,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)
diff --git a/sys/boot/uboot/lib/disk.c b/sys/boot/uboot/lib/disk.c
index e861bc08881c..62b31328f011 100644
--- a/sys/boot/uboot/lib/disk.c
+++ b/sys/boot/uboot/lib/disk.c
@@ -45,9 +45,6 @@ __FBSDID("$FreeBSD$");
#include "glue.h"
#include "libuboot.h"
-#define DEBUG
-#undef DEBUG
-
#define stor_printf(fmt, args...) do { \
printf("%s%d: ", dev->d_dev->dv_name, dev->d_unit); \
printf(fmt, ##args); \
diff --git a/sys/boot/uboot/lib/glue.c b/sys/boot/uboot/lib/glue.c
index df12a7db01e1..f389f1128ba6 100644
--- a/sys/boot/uboot/lib/glue.c
+++ b/sys/boot/uboot/lib/glue.c
@@ -34,9 +34,6 @@ __FBSDID("$FreeBSD$");
#include "api_public.h"
#include "glue.h"
-#define DEBUG
-#undef DEBUG
-
#ifdef DEBUG
#define debugf(fmt, args...) do { printf("%s(): ", __func__); printf(fmt,##args); } while (0)
#else
diff --git a/sys/dev/cesa/cesa.c b/sys/dev/cesa/cesa.c
index d5739e961dda..bc9a56840dbe 100644
--- a/sys/dev/cesa/cesa.c
+++ b/sys/dev/cesa/cesa.c
@@ -71,8 +71,6 @@ __FBSDID("$FreeBSD$");
#include <arm/mv/mvvar.h>
#include "cesa.h"
-#undef DEBUG
-
static int cesa_probe(device_t);
static int cesa_attach(device_t);
static int cesa_detach(device_t);
diff --git a/sys/dev/fdt/fdt_slicer.c b/sys/dev/fdt/fdt_slicer.c
index d32d1595287c..9f65f73f747d 100644
--- a/sys/dev/fdt/fdt_slicer.c
+++ b/sys/dev/fdt/fdt_slicer.c
@@ -35,9 +35,6 @@ __FBSDID("$FreeBSD$");
#include <dev/fdt/fdt_common.h>
-#define DEBUG
-#undef DEBUG
-
#ifdef DEBUG
#define debugf(fmt, args...) do { printf("%s(): ", __func__); \
printf(fmt,##args); } while (0)
diff --git a/sys/powerpc/mpc85xx/fsl_sdhc.c b/sys/powerpc/mpc85xx/fsl_sdhc.c
index ecd6572524bb..12b18b124856 100644
--- a/sys/powerpc/mpc85xx/fsl_sdhc.c
+++ b/sys/powerpc/mpc85xx/fsl_sdhc.c
@@ -64,8 +64,6 @@ __FBSDID("$FreeBSD$");
#include "fsl_sdhc.h"
-#define DEBUG
-#undef DEBUG
#ifdef DEBUG
#define DPRINTF(fmt, arg...) printf("DEBUG %s(): " fmt, __FUNCTION__, ##arg)
#else