We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f09142 commit c8a09fcCopy full SHA for c8a09fc
include/linux/idr.h
@@ -334,14 +334,6 @@ static inline void ida_init(struct ida *ida)
334
xa_init_flags(&ida->xa, IDA_INIT_FLAGS);
335
}
336
337
-/*
338
- * ida_simple_get() and ida_simple_remove() are deprecated. Use
339
- * ida_alloc() and ida_free() instead respectively.
340
- */
341
-#define ida_simple_get(ida, start, end, gfp) \
342
- ida_alloc_range(ida, start, (end) - 1, gfp)
343
-#define ida_simple_remove(ida, id) ida_free(ida, id)
344
-
345
static inline bool ida_is_empty(const struct ida *ida)
346
{
347
return xa_empty(&ida->xa);
0 commit comments