浏览代码

sysfs: remove DEBUG defines

It isn't needed at all in these files, dynamic debug is the best way to
enable this type of thing, if you really want it.  As it is, these
defines were not doing anything at all.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Greg Kroah-Hartman 8 年之前
父节点
当前提交
78fae52cf4
共有 2 个文件被更改,包括 0 次插入3 次删除
  1. 0 1
      fs/sysfs/dir.c
  2. 0 2
      fs/sysfs/mount.c

+ 0 - 1
fs/sysfs/dir.c

@@ -10,7 +10,6 @@
  */
 
 #define pr_fmt(fmt)	"sysfs: " fmt
-#undef DEBUG
 
 #include <linux/fs.h>
 #include <linux/kobject.h>

+ 0 - 2
fs/sysfs/mount.c

@@ -9,8 +9,6 @@
  * Please see Documentation/filesystems/sysfs.txt for more information.
  */
 
-#define DEBUG
-
 #include <linux/fs.h>
 #include <linux/magic.h>
 #include <linux/mount.h>