diff options
Diffstat (limited to 'mm/memory.c')
-rw-r--r-- | mm/memory.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/mm/memory.c b/mm/memory.c index 79e0173a7d70..6aff43171a7b 100644 --- a/mm/memory.c +++ b/mm/memory.c | |||
@@ -3334,12 +3334,8 @@ DEFINE_DEBUGFS_ATTRIBUTE(fault_around_bytes_fops, | |||
3334 | 3334 | ||
3335 | static int __init fault_around_debugfs(void) | 3335 | static int __init fault_around_debugfs(void) |
3336 | { | 3336 | { |
3337 | void *ret; | 3337 | debugfs_create_file_unsafe("fault_around_bytes", 0644, NULL, NULL, |
3338 | 3338 | &fault_around_bytes_fops); | |
3339 | ret = debugfs_create_file_unsafe("fault_around_bytes", 0644, NULL, NULL, | ||
3340 | &fault_around_bytes_fops); | ||
3341 | if (!ret) | ||
3342 | pr_warn("Failed to create fault_around_bytes in debugfs"); | ||
3343 | return 0; | 3339 | return 0; |
3344 | } | 3340 | } |
3345 | late_initcall(fault_around_debugfs); | 3341 | late_initcall(fault_around_debugfs); |