From owner-svn-src-head@FreeBSD.ORG Fri Dec 30 04:00:32 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 580D51065672; Fri, 30 Dec 2011 04:00:32 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 46EA28FC0A; Fri, 30 Dec 2011 04:00:32 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id pBU40WXL094633; Fri, 30 Dec 2011 04:00:32 GMT (envelope-from marcel@svn.freebsd.org) Received: (from marcel@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id pBU40Wx5094629; Fri, 30 Dec 2011 04:00:32 GMT (envelope-from marcel@svn.freebsd.org) Message-Id: <201112300400.pBU40Wx5094629@svn.freebsd.org> From: Marcel Moolenaar Date: Fri, 30 Dec 2011 04:00:32 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r228984 - head/sys/dev/fdt X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 04:00:32 -0000 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)