Merge tag 'ntb-5.11' of git://github.com/jonmason/ntb
[linux-2.6-microblaze.git] / kernel / dma / pool.c
index d4637f7..5f84e6c 100644 (file)
@@ -38,9 +38,6 @@ static void __init dma_atomic_pool_debugfs_init(void)
        struct dentry *root;
 
        root = debugfs_create_dir("dma_pools", NULL);
-       if (IS_ERR_OR_NULL(root))
-               return;
-
        debugfs_create_ulong("pool_size_dma", 0400, root, &pool_size_dma);
        debugfs_create_ulong("pool_size_dma32", 0400, root, &pool_size_dma32);
        debugfs_create_ulong("pool_size_kernel", 0400, root, &pool_size_kernel);