Skip to content

Commit

Permalink
sysfs: remove DEBUG defines
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
gregkh committed Jan 23, 2018
1 parent 619daee commit 78fae52
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion fs/sysfs/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
*/

#define pr_fmt(fmt) "sysfs: " fmt
#undef DEBUG

#include <linux/fs.h>
#include <linux/kobject.h>
Expand Down
2 changes: 0 additions & 2 deletions fs/sysfs/mount.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 78fae52

Please sign in to comment.