Browse Source

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 năm trước cách đây
mục cha
commit
78fae52cf4
2 tập tin đã thay đổi với 0 bổ sung3 xóa
  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>