On Mon May 19 18:46:49 2025 +0300, Andy Shevchenko wrote:
> After recent cleanups the few macros become unused. Remove them.
> 
> Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com>
> Link: 
> https://lore.kernel.org/r/20250519155028.526453-4-andriy.shevche...@linux.intel.com
> Reviewed-by: Hans de Goede <ha...@kernel.org>
> Tested-by: Hans de Goede <ha...@kernel.org>
> Signed-off-by: Hans de Goede <ha...@kernel.org>
> Signed-off-by: Mauro Carvalho Chehab <mchehab+hua...@kernel.org>

Patch committed.

Thanks,
Mauro Carvalho Chehab

 .../staging/media/atomisp/pci/hive_isp_css_include/math_support.h    | 5 -----
 1 file changed, 5 deletions(-)

---

diff --git 
a/drivers/staging/media/atomisp/pci/hive_isp_css_include/math_support.h 
b/drivers/staging/media/atomisp/pci/hive_isp_css_include/math_support.h
index 6d45d0d8d060..2cb5c986790a 100644
--- a/drivers/staging/media/atomisp/pci/hive_isp_css_include/math_support.h
+++ b/drivers/staging/media/atomisp/pci/hive_isp_css_include/math_support.h
@@ -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.

Reply via email to