MFC r257127:

Remove all the instances of '#undef DEBUG' from kernel.

Suggested by:	rpaulo
Approved by:	adrian (mentor)
This commit is contained in:
loos 2014-01-23 12:02:04 +00:00
parent 31820682b5
commit f516feec90
8 changed files with 0 additions and 21 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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); \

View File

@ -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

View File

@ -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);

View File

@ -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)

View File

@ -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