summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-07-04 02:22:32 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-07-17 02:13:34 +0300
commit44a9b13f8822d6b65a2456983982aea7361b4ecf (patch)
tree9d0d8e25ac467e1712aedddc145564c8c289c1a8 /src
parent72263c5203d3a07cc235bc85f586dc14ff46b884 (diff)
libcamera: pipeline: raspberrypi: Drop unused local variable
The controls variable in PipelineHandlerRPi::start() is unused. Drop it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Naushir Patuck <naush@raspberrypi.com>
Diffstat (limited to 'src')
-rw-r--r--src/libcamera/pipeline/raspberrypi/raspberrypi.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp b/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp
index 9f80a030..41b59f97 100644
--- a/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp
+++ b/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp
@@ -789,7 +789,6 @@ int PipelineHandlerRPi::exportFrameBuffers(Camera *camera, Stream *stream,
int PipelineHandlerRPi::start(Camera *camera)
{
RPiCameraData *data = cameraData(camera);
- ControlList controls(data->sensor_->controls());
int ret;
/* Allocate buffers for internal pipeline usage. */