Selaa lähdekoodia

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 vuotta sitten
vanhempi
commit
78fae52cf4
2 muutettua tiedostoa jossa 0 lisäystä ja 3 poistoa
  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>