OSDN Git Service

sysfs: remove DEBUG defines
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Jan 2018 15:21:53 +0000 (16:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jan 2018 09:19:23 +0000 (10:19 +0100)
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>
fs/sysfs/dir.c
fs/sysfs/mount.c

index c9877fc..58eba92 100644 (file)
@@ -10,7 +10,6 @@
  */
 
 #define pr_fmt(fmt)    "sysfs: " fmt
-#undef DEBUG
 
 #include <linux/fs.h>
 #include <linux/kobject.h>
index 1823a1b..b428d31 100644 (file)
@@ -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>