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 7 years ago
parent
commit
78fae52cf4
2 changed files with 0 additions and 3 deletions
  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
 #define pr_fmt(fmt)	"sysfs: " fmt
-#undef DEBUG
 
 
 #include <linux/fs.h>
 #include <linux/fs.h>
 #include <linux/kobject.h>
 #include <linux/kobject.h>

+ 0 - 2
fs/sysfs/mount.c

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