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