mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 12:44:03 +02:00
media: atomisp: Remove no more used macros from math_support.h
After recent cleanups the few macros become unused. Remove them. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20250519155028.526453-4-andriy.shevchenko@linux.intel.com Reviewed-by: Hans de Goede <hansg@kernel.org> Tested-by: Hans de Goede <hansg@kernel.org> Signed-off-by: Hans de Goede <hansg@kernel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
782fc724bf
commit
379f5e1587
|
|
@ -10,14 +10,9 @@
|
|||
/* Override the definition of max/min from Linux kernel */
|
||||
#include <linux/minmax.h>
|
||||
|
||||
/* force a value to a lower even value */
|
||||
#define EVEN_FLOOR(x) ((x) & ~1)
|
||||
|
||||
#define CEIL_DIV(a, b) (((b) != 0) ? ((a) + (b) - 1) / (b) : 0)
|
||||
#define CEIL_MUL(a, b) (CEIL_DIV(a, b) * (b))
|
||||
#define CEIL_MUL2(a, b) (((a) + (b) - 1) & ~((b) - 1))
|
||||
#define CEIL_SHIFT(a, b) (((a) + (1 << (b)) - 1) >> (b))
|
||||
#define CEIL_SHIFT_MUL(a, b) (CEIL_SHIFT(a, b) << (b))
|
||||
|
||||
/*
|
||||
* For SP and ISP, SDK provides the definition of OP_std_modadd.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user