sys: util: remove deprecated ceiling_fraction

It has been deprecated for 2 releases, so the time to remove it has
come.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
Gerard Marull-Paretas 2024-08-12 12:22:02 +02:00 committed by Anas Nashif
commit 07f3ac95be
2 changed files with 3 additions and 7 deletions

View file

@ -29,6 +29,9 @@ API Changes
``include/zephyr/arch/arm/cortex_m/cmsis.h``. ``cmsis_core.h`` needs to be ``include/zephyr/arch/arm/cortex_m/cmsis.h``. ``cmsis_core.h`` needs to be
included now. included now.
* Removed deprecated ``ceiling_fraction`` macro. :c:macro:`DIV_ROUND_UP` needs
to be used now.
Removed APIs in this release Removed APIs in this release
============================ ============================

View file

@ -377,13 +377,6 @@ extern "C" {
((((n) < 0) ^ ((d) < 0)) ? ((n) - ((d) / 2)) / (d) : \ ((((n) < 0) ^ ((d) < 0)) ? ((n) - ((d) / 2)) / (d) : \
((n) + ((d) / 2)) / (d)) ((n) + ((d) / 2)) / (d))
/**
* @brief Ceiling function applied to @p numerator / @p divider as a fraction.
* @deprecated Use DIV_ROUND_UP() instead.
*/
#define ceiling_fraction(numerator, divider) __DEPRECATED_MACRO \
DIV_ROUND_UP(numerator, divider)
#ifndef MAX #ifndef MAX
/** /**
* @brief Obtain the maximum of two values. * @brief Obtain the maximum of two values.