bitmap: replace _reg_op(REG_OP_RELEASE) with bitmap_clear()

_reg_op(REG_OP_RELEASE) duplicates bitmap_clear().

CC: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
CC: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Yury Norov <yury.norov@gmail.com>
This commit is contained in:
Yury Norov 2023-09-24 19:38:14 -07:00
parent eae5acbd75
commit add00c76ee
1 changed files with 1 additions and 1 deletions

View File

@ -821,7 +821,7 @@ EXPORT_SYMBOL(bitmap_find_free_region);
*/
void bitmap_release_region(unsigned long *bitmap, unsigned int pos, int order)
{
__reg_op(bitmap, pos, order, REG_OP_RELEASE);
bitmap_clear(bitmap, pos, BIT(order));
}
EXPORT_SYMBOL(bitmap_release_region);