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:
parent
fd4ec84fc6
commit
07f3ac95be
2 changed files with 3 additions and 7 deletions
|
@ -29,6 +29,9 @@ API Changes
|
|||
``include/zephyr/arch/arm/cortex_m/cmsis.h``. ``cmsis_core.h`` needs to be
|
||||
included now.
|
||||
|
||||
* Removed deprecated ``ceiling_fraction`` macro. :c:macro:`DIV_ROUND_UP` needs
|
||||
to be used now.
|
||||
|
||||
Removed APIs in this release
|
||||
============================
|
||||
|
||||
|
|
|
@ -377,13 +377,6 @@ extern "C" {
|
|||
((((n) < 0) ^ ((d) < 0)) ? ((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
|
||||
/**
|
||||
* @brief Obtain the maximum of two values.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue