diff --git a/sys/arm/broadcom/bcm2835/bcm2835_gpio.c b/sys/arm/broadcom/bcm2835/bcm2835_gpio.c index 5fb0ea0634d2..9c5f5cddf750 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 e83b0a5a9caf..f8a8659ec119 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 2e7473ccd829..3aa6d470d2d1 100644 --- a/sys/arm/lpc/lpc_mmc.c +++ b/sys/arm/lpc/lpc_mmc.c @@ -64,9 +64,6 @@ __FBSDID("$FreeBSD$"); #include #include -#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 #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 -#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