Merge tag 'driver-core-5.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / kernel / trace / trace.c
index c3aabb5..c90c687 100644 (file)
@@ -8618,10 +8618,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;
 }