aboutsummaryrefslogtreecommitdiffstats
path: root/p00
diff options
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-03-30 10:20:57 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-03-30 10:20:57 +0100
commitee9dcf22a075bce42d85b58108ca601ca434e663 (patch)
tree3d45f9e2fe020d467fbca570d9c4d481afa190ac /p00
parent40c493e29885df8b9e3eaef8418af97ce8a90967 (diff)
downloadpatches-ee9dcf22a075bce42d85b58108ca601ca434e663.tar.gz
update patches based on what is merged in Linus's tree
Diffstat (limited to 'p00')
-rw-r--r--p0044
1 files changed, 0 insertions, 44 deletions
diff --git a/p00 b/p00
deleted file mode 100644
index bb502ad76b9076..00000000000000
--- a/p00
+++ /dev/null
@@ -1,44 +0,0 @@
-From e82f2d8eab210dc7eb0dba2bd8e3c64ad485442b Mon Sep 17 00:00:00 2001
-From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-Date: Wed, 30 May 2018 16:15:35 +0200
-Subject: [PATCH] microblaze: no need to check return value of debugfs_create functions
-
-When calling debugfs functions, there is no need to ever check the
-return value. The function can work or not, but the code logic should
-never do something different based on this.
-
-Cc: Michal Simek <monstr@monstr.eu>
-Cc: Rob Herring <robh@kernel.org>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- arch/microblaze/kernel/setup.c | 13 ++-----------
- 1 file changed, 2 insertions(+), 11 deletions(-)
-
---- a/arch/microblaze/kernel/setup.c
-+++ b/arch/microblaze/kernel/setup.c
-@@ -192,23 +192,14 @@ struct dentry *of_debugfs_root;
- static int microblaze_debugfs_init(void)
- {
- of_debugfs_root = debugfs_create_dir("microblaze", NULL);
--
-- return of_debugfs_root == NULL;
-+ return 0;
- }
- arch_initcall(microblaze_debugfs_init);
-
- # ifdef CONFIG_MMU
- static int __init debugfs_tlb(void)
- {
-- struct dentry *d;
--
-- if (!of_debugfs_root)
-- return -ENODEV;
--
-- d = debugfs_create_u32("tlb_skip", S_IRUGO, of_debugfs_root, &tlb_skip);
-- if (!d)
-- return -ENOMEM;
--
-+ debugfs_create_u32("tlb_skip", S_IRUGO, of_debugfs_root, &tlb_skip);
- return 0;
- }
- device_initcall(debugfs_tlb);