aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcamera
diff options
context:
space:
mode:
authorChristian Rauch <Rauch.Christian@gmx.de>2022-08-16 20:38:26 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-08-21 20:45:29 +0300
commitfa388da4f0d537798a3c764b1abb78abecaa4ae5 (patch)
tree9de2eb3a1a99186ff7c60d870d4fa0165948b846 /src/libcamera
parent90a0df100c8afcef95ad79a17e1bbf746cd74004 (diff)
libcamera: pipeline: rkisp1: Remove unused assignment
The variable 'ret' is assigned but not read until after the next assignment. Signed-off-by: Christian Rauch <Rauch.Christian@gmx.de> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/libcamera')
-rw-r--r--src/libcamera/pipeline/rkisp1/rkisp1.cpp1
1 files changed, 0 insertions, 1 deletions
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;

Privacy Policy