[libcamera-devel] pipeline: rpi: Remove unused variable
diff mbox series

Message ID 20231024080143.16414-1-naush@raspberrypi.com
State Accepted
Commit 226a1dacb1a3d38200e29ee9a03d09980c3ab928
Headers show
Series
  • [libcamera-devel] pipeline: rpi: Remove unused variable
Related show

Commit Message

Naushir Patuck Oct. 24, 2023, 8:01 a.m. UTC
The entityControls variable is unused, remove it.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
---
 src/libcamera/pipeline/rpi/common/pipeline_base.cpp | 1 -
 1 file changed, 1 deletion(-)

Comments

Kieran Bingham Oct. 24, 2023, 9:13 a.m. UTC | #1
Quoting Naushir Patuck via libcamera-devel (2023-10-24 09:01:43)
> The entityControls variable is unused, remove it.
> 
> Signed-off-by: Naushir Patuck <naush@raspberrypi.com>


Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>

> ---
>  src/libcamera/pipeline/rpi/common/pipeline_base.cpp | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/src/libcamera/pipeline/rpi/common/pipeline_base.cpp b/src/libcamera/pipeline/rpi/common/pipeline_base.cpp
> index 7c88b87e0608..e683bd5bb612 100644
> --- a/src/libcamera/pipeline/rpi/common/pipeline_base.cpp
> +++ b/src/libcamera/pipeline/rpi/common/pipeline_base.cpp
> @@ -1214,7 +1214,6 @@ int CameraData::loadIPA(ipa::RPi::InitResult *result)
>  
>  int CameraData::configureIPA(const CameraConfiguration *config, ipa::RPi::ConfigResult *result)
>  {
> -       std::map<unsigned int, ControlInfoMap> entityControls;
>         ipa::RPi::ConfigParams params;
>         int ret;
>  
> -- 
> 2.34.1
>

Patch
diff mbox series

diff --git a/src/libcamera/pipeline/rpi/common/pipeline_base.cpp b/src/libcamera/pipeline/rpi/common/pipeline_base.cpp
index 7c88b87e0608..e683bd5bb612 100644
--- a/src/libcamera/pipeline/rpi/common/pipeline_base.cpp
+++ b/src/libcamera/pipeline/rpi/common/pipeline_base.cpp
@@ -1214,7 +1214,6 @@  int CameraData::loadIPA(ipa::RPi::InitResult *result)
 
 int CameraData::configureIPA(const CameraConfiguration *config, ipa::RPi::ConfigResult *result)
 {
-	std::map<unsigned int, ControlInfoMap> entityControls;
 	ipa::RPi::ConfigParams params;
 	int ret;