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) _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"