Skip to content

Commit 78fae52

Browse files
committed
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>
1 parent 619daee commit 78fae52

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

‎fs/sysfs/dir.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
*/
1111

1212
#define pr_fmt(fmt) "sysfs: " fmt
13-
#undef DEBUG
1413

1514
#include <linux/fs.h>
1615
#include <linux/kobject.h>

‎fs/sysfs/mount.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
* Please see Documentation/filesystems/sysfs.txt for more information.
1010
*/
1111

12-
#define DEBUG
13-
1412
#include <linux/fs.h>
1513
#include <linux/magic.h>
1614
#include <linux/mount.h>

0 commit comments

Comments
 (0)