1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-11 14:10:34 +00:00

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

Suggested by:	rpaulo
Approved by:	adrian (mentor)
This commit is contained in:
Luiz Otavio O Souza 2013-10-25 18:38:44 +00:00
parent 6ad36cf2c8
commit 09b2544b71
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=257127
8 changed files with 0 additions and 21 deletions

View File

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

View File

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

View File

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

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