diff options
author | loos <loos@FreeBSD.org> | 2013-10-25 18:38:44 +0000 |
---|---|---|
committer | loos <loos@FreeBSD.org> | 2013-10-25 18:38:44 +0000 |
commit | b13dfd59194f51088033cebbf77b36fc4d58626f (patch) | |
tree | 566848be3d05eb3589b2497b4542851aa0928ea0 /sys | |
parent | f3c69bb1dcab7727ebc2c47ed1f5dd52e1301c00 (diff) | |
download | FreeBSD-src-b13dfd59194f51088033cebbf77b36fc4d58626f.zip FreeBSD-src-b13dfd59194f51088033cebbf77b36fc4d58626f.tar.gz |
Remove all the instances of '#undef DEBUG' from kernel.
Suggested by: rpaulo
Approved by: adrian (mentor)
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arm/broadcom/bcm2835/bcm2835_gpio.c | 2 | ||||
-rw-r--r-- | sys/arm/lpc/if_lpe.c | 3 | ||||
-rw-r--r-- | sys/arm/lpc/lpc_mmc.c | 3 | ||||
-rw-r--r-- | sys/boot/uboot/lib/disk.c | 3 | ||||
-rw-r--r-- | sys/boot/uboot/lib/glue.c | 3 | ||||
-rw-r--r-- | sys/dev/cesa/cesa.c | 2 | ||||
-rw-r--r-- | sys/dev/fdt/fdt_slicer.c | 3 | ||||
-rw-r--r-- | sys/powerpc/mpc85xx/fsl_sdhc.c | 2 |
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 26d2359..70ccbef 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 025aa72..6272907 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 5a789f6..236cb553 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 e861bc0..62b3132 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 df12a7d..f389f11 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 d5739e9..bc9a568 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 d32d159..9f65f73 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 ecd6572..12b18b1 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 |