diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 1c80521fd436..a95c5cd28135 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -8604,10 +8604,6 @@ struct dentry *tracing_init_dentry(void) */ tr->dir = debugfs_create_automount("tracing", NULL, trace_automount, NULL); - if (!tr->dir) { - pr_warn_once("Could not create debugfs directory 'tracing'\n"); - return ERR_PTR(-ENOMEM); - } return NULL; }