mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] sysfs: remove DEBUG defines
@ 2018-01-22 15:21 Greg Kroah-Hartman
  0 siblings, 0 replies; only message in thread
From: Greg Kroah-Hartman @ 2018-01-22 15:21 UTC (permalink / raw)
  To: linux-kernel; +Cc: Greg Kroah-Hartman

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   | 1 -
 fs/sysfs/mount.c | 2 --
 2 files changed, 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 @@
  */
 
 #define pr_fmt(fmt)	"sysfs: " fmt
-#undef DEBUG
 
 #include <linux/fs.h>
 #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 @@
  * Please see Documentation/filesystems/sysfs.txt for more information.
  */
 
-#define DEBUG
-
 #include <linux/fs.h>
 #include <linux/magic.h>
 #include <linux/mount.h>
-- 
2.16.0

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-01-22 15:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-22 15:21 [PATCH] sysfs: remove DEBUG defines Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome