]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - lib/radix-tree.c
Merge branch 'perm-fix' into omap-for-v4.19/fixes-v2
[linux.git] / lib / radix-tree.c
index cc6096b97afbb7be8611b9369411172fca2a1d94..bc03ecc4dfd2f69c8638cbff3270bc55793b7f6b 100644 (file)
@@ -2106,14 +2106,6 @@ void idr_preload(gfp_t gfp_mask)
 }
 EXPORT_SYMBOL(idr_preload);
 
-/**
- * ida_pre_get - reserve resources for ida allocation
- * @ida: ida handle
- * @gfp: memory allocation flags
- *
- * This function should be called before calling ida_get_new_above().  If it
- * is unable to allocate memory, it will return %0.  On success, it returns %1.
- */
 int ida_pre_get(struct ida *ida, gfp_t gfp)
 {
        /*
@@ -2134,7 +2126,6 @@ int ida_pre_get(struct ida *ida, gfp_t gfp)
 
        return 1;
 }
-EXPORT_SYMBOL(ida_pre_get);
 
 void __rcu **idr_get_free(struct radix_tree_root *root,
                              struct radix_tree_iter *iter, gfp_t gfp,