From d1c89a1824416a03da10ebd078869cba79b6015c Mon Sep 17 00:00:00 2001 From: Naushir Patuck Date: Wed, 27 Jul 2022 09:55:23 +0100 Subject: ipa: raspberrypi: Remove #define constants Replace all #define constant values with equivalent constexpr definitions. As a drive-by, remove the CAMERA_MODE_NAME_LEN constant as it is unused. Signed-off-by: Naushir Patuck Reviewed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart --- src/ipa/raspberrypi/controller/camera_mode.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/ipa/raspberrypi/controller/camera_mode.h') diff --git a/src/ipa/raspberrypi/controller/camera_mode.h b/src/ipa/raspberrypi/controller/camera_mode.h index 0ac6c07f..a6ccf8c1 100644 --- a/src/ipa/raspberrypi/controller/camera_mode.h +++ b/src/ipa/raspberrypi/controller/camera_mode.h @@ -16,8 +16,6 @@ * including binning, scaling, cropping etc. */ -#define CAMERA_MODE_NAME_LEN 32 - struct CameraMode { /* bit depth of the raw camera output */ uint32_t bitdepth; -- cgit v1.2.1