From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Google-Smtp-Source: AH8x224AkepE8bIy+j/BAZcJKEbU7/FPQTmNZ1/8SfSvigow1ysfWTRGmjx/i6amTtZmwMMi3aIW ARC-Seal: i=1; a=rsa-sha256; t=1516634517; cv=none; d=google.com; s=arc-20160816; b=DQb2+AxuvQTL7xUUnjOKOoG3F6DHrZ3+HK+/lXG8I+iWezoN4bQTg0iiwlNIsombFT KvsXIlmbg5HOheXE+94I7uTacUOHJktyzcM1eKQw7NGuTacyzx2+jwGU32xturQJHXaH wScg3ASyZUpVAqJ8X4sA1wXDOzHj3Skou92a85maTdDmvJNYntD1TD18L+VuJGBCTbl6 Ie0bcNzwqNgM6cenjULX8ngjxqNNH7243mM2fHNmwwsGeZgl84ZpwKjZ8YTC3CVJ0zji XCcavNEfTtoR2NDjiJOXRU87STTXkQkC/oJliSpx7dtolcmAJmhSz0BVl4buZ2vCh7C4 iPWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:arc-authentication-results; bh=olCjdtHBf6AYXYgDEJBFGkLVprkq1qLhC2DfCBKYkY0=; b=rvck+HMAZXHTbZU+klGT6PS/yM42hYgaOTy7eZM0AUHdt/LrjTCXWcPcBOHk4cxAQ0 1sEJlcKGPbhSb8bhdAIV/tW5KQsg1XUkiH+tv5EJQ2DXsExwgV5Ts+kqXRnH2DwirLXi /UZz6sQylZk7F5JndMqa8PJVu9ldR0dyggxK3hBAYgKN8nLymAXpeXASvJ6n9Hfk7QaF 75OEtcG4D/nB0FBIRiVjEyovEvHErQ8I7EanfqR4po5pqQ8JqXrZ7G5Gx4gG3cAWlfhT ZmQIvuEAAAm55Ivcreep5rJz7Px3xi4IPtVOFM8kgiPmcOg9OFrRJiJzuhQZUfcMLOja G60g== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning gregkh@linuxfoundation.org does not designate 90.92.71.90 as permitted sender) smtp.mailfrom=gregkh@linuxfoundation.org Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning gregkh@linuxfoundation.org does not designate 90.92.71.90 as permitted sender) smtp.mailfrom=gregkh@linuxfoundation.org From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman Subject: [PATCH] sysfs: remove DEBUG defines Date: Mon, 22 Jan 2018 16:21:53 +0100 Message-Id: <20180122152153.30559-1-gregkh@linuxfoundation.org> X-Mailer: git-send-email 2.16.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-LABELS: =?utf-8?b?IlxcU2VudCI=?= X-GMAIL-THRID: =?utf-8?q?1590306555570466723?= X-GMAIL-MSGID: =?utf-8?q?1590306555570466723?= X-Mailing-List: linux-kernel@vger.kernel.org List-ID: 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 --- 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 #include 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 #include #include -- 2.16.0