瀏覽代碼

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 7 年之前
父節點
當前提交
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>