aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-01-22 10:21:53 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-01-23 04:19:23 -0500
commit78fae52cf46680e310cae168ff7bc88912350878 (patch)
treedb8032560651937c64ab887eb05f992a48d60f65
parent619daeeeb80f39bb037434598e489a88db14a95b (diff)
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>
-rw-r--r--fs/sysfs/dir.c1
-rw-r--r--fs/sysfs/mount.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/fs/sysfs/dir.c b/fs/sysfs/dir.c
index c9877fc1c5fe..58eba92a0e41 100644
--- a/fs/sysfs/dir.c
+++ b/fs/sysfs/dir.c
@@ -10,7 +10,6 @@
10 */ 10 */
11 11
12#define pr_fmt(fmt) "sysfs: " fmt 12#define pr_fmt(fmt) "sysfs: " fmt
13#undef DEBUG
14 13
15#include <linux/fs.h> 14#include <linux/fs.h>
16#include <linux/kobject.h> 15#include <linux/kobject.h>
diff --git a/fs/sysfs/mount.c b/fs/sysfs/mount.c
index 1823a1be492e..b428d317ae92 100644
--- a/fs/sysfs/mount.c
+++ b/fs/sysfs/mount.c
@@ -9,8 +9,6 @@
9 * Please see Documentation/filesystems/sysfs.txt for more information. 9 * Please see Documentation/filesystems/sysfs.txt for more information.
10 */ 10 */
11 11
12#define DEBUG
13
14#include <linux/fs.h> 12#include <linux/fs.h>
15#include <linux/magic.h> 13#include <linux/magic.h>
16#include <linux/mount.h> 14#include <linux/mount.h>