Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2012 21:09:38 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r235935 - head/sys/powerpc/mpc85xx
Message-ID:  <201205242109.q4OL9cxI060484@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marcel
Date: Thu May 24 21:09:38 2012
New Revision: 235935
URL: http://svn.freebsd.org/changeset/base/235935

Log:
  Remove Semihakf-ism. DEBUG is a kernel configuration option. It
  should not be defined in source files.

Modified:
  head/sys/powerpc/mpc85xx/i2c.c

Modified: head/sys/powerpc/mpc85xx/i2c.c
==============================================================================
--- head/sys/powerpc/mpc85xx/i2c.c	Thu May 24 21:07:10 2012	(r235934)
+++ head/sys/powerpc/mpc85xx/i2c.c	Thu May 24 21:09:38 2012	(r235935)
@@ -72,9 +72,6 @@ __FBSDID("$FreeBSD$");
 #define I2C_BAUD_RATE_DEF	0x3F
 #define I2C_DFSSR_DIV		0x10
 
-#define DEBUG
-#undef DEBUG
-
 #ifdef  DEBUG
 #define debugf(fmt, args...) do { printf("%s(): ", __func__); printf(fmt,##args); } while (0)
 #else



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205242109.q4OL9cxI060484>