svn commit: r228984 - head/sys/dev/fdt

Marcel Moolenaar marcel at FreeBSD.org
Fri Dec 30 04:00:32 UTC 2011


Author: marcel
Date: Fri Dec 30 04:00:31 2011
New Revision: 228984
URL: http://svn.freebsd.org/changeset/base/228984

Log:
  DEBUG is a kernel option. Don't define it here, as it breaks LINT.
  Since DEBUG was subsequently undefined, this is just debugging left-
  over.

Modified:
  head/sys/dev/fdt/fdt_pci.c
  head/sys/dev/fdt/fdtbus.c
  head/sys/dev/fdt/simplebus.c

Modified: head/sys/dev/fdt/fdt_pci.c
==============================================================================
--- head/sys/dev/fdt/fdt_pci.c	Fri Dec 30 03:57:17 2011	(r228983)
+++ head/sys/dev/fdt/fdt_pci.c	Fri Dec 30 04:00:31 2011	(r228984)
@@ -46,9 +46,6 @@ __FBSDID("$FreeBSD$");
 #include "ofw_bus_if.h"
 #include "pcib_if.h"
 
-#define DEBUG
-#undef DEBUG
-
 #ifdef DEBUG
 #define debugf(fmt, args...) do { printf("%s(): ", __func__);	\
     printf(fmt,##args); } while (0)

Modified: head/sys/dev/fdt/fdtbus.c
==============================================================================
--- head/sys/dev/fdt/fdtbus.c	Fri Dec 30 03:57:17 2011	(r228983)
+++ head/sys/dev/fdt/fdtbus.c	Fri Dec 30 04:00:31 2011	(r228984)
@@ -46,9 +46,6 @@ __FBSDID("$FreeBSD$");
 #include "fdt_common.h"
 #include "ofw_bus_if.h"
 
-#define DEBUG
-#undef DEBUG
-
 #ifdef DEBUG
 #define debugf(fmt, args...) do { printf("%s(): ", __func__);	\
     printf(fmt,##args); } while (0)

Modified: head/sys/dev/fdt/simplebus.c
==============================================================================
--- head/sys/dev/fdt/simplebus.c	Fri Dec 30 03:57:17 2011	(r228983)
+++ head/sys/dev/fdt/simplebus.c	Fri Dec 30 04:00:31 2011	(r228984)
@@ -49,9 +49,6 @@ __FBSDID("$FreeBSD$");
 #include "fdt_common.h"
 #include "ofw_bus_if.h"
 
-#define DEBUG
-#undef DEBUG
-
 #ifdef DEBUG
 #define debugf(fmt, args...) do { printf("%s(): ", __func__);	\
     printf(fmt,##args); } while (0)


More information about the svn-src-all mailing list