svn commit: r235935 - head/sys/powerpc/mpc85xx

Marcel Moolenaar marcel at FreeBSD.org
Thu May 24 21:09:38 UTC 2012


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


More information about the svn-src-all mailing list