[libcamera-devel] [PATCH v2 3/3] libcamera: pipeline: remove unused assignment
Christian Rauch
Rauch.Christian at gmx.de
Tue Aug 16 20:38:26 CEST 2022
The variable 'ret' is assigned but not read until after the next assignment.
Signed-off-by: Christian Rauch <Rauch.Christian at gmx.de>
---
src/libcamera/pipeline/rkisp1/rkisp1.cpp | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/libcamera/pipeline/rkisp1/rkisp1.cpp b/src/libcamera/pipeline/rkisp1/rkisp1.cpp
index 93287332..03bbe6b4 100644
--- a/src/libcamera/pipeline/rkisp1/rkisp1.cpp
+++ b/src/libcamera/pipeline/rkisp1/rkisp1.cpp
@@ -688,7 +688,6 @@ int PipelineHandlerRkISP1::configure(Camera *camera, CameraConfiguration *c)
/* \todo Turn this into a hard failure. */
LOG(RkISP1, Warning) << "Camera sensor information not available";
sensorInfo = {};
- ret = 0;
}
std::map<uint32_t, ControlInfoMap> entityControls;
--
2.34.1
More information about the libcamera-devel
mailing list