summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2020-09-24 15:58:51 +0200
committerJacopo Mondi <jacopo@jmondi.org>2020-09-29 17:54:03 +0200
commit60ade5d0e08cafb4643b9cd3aada6f586560db51 (patch)
tree925bdb5b8b827ceba5ed7ceee700482f4e7bd606 /src
parentbe9feda2ad0aab53f8c79abcc750bddf31240dcd (diff)
libcamera: ipu3: Remove dead code check
Since the re-implementation of the IPU3 pipeline handler configuration procedure, the main output is always assigned in case any YUV stream is requested. Remove a dead code block that checks for the main output to be valid. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src')
-rw-r--r--src/libcamera/pipeline/ipu3/ipu3.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/libcamera/pipeline/ipu3/ipu3.cpp b/src/libcamera/pipeline/ipu3/ipu3.cpp
index f6e7ab46..f9b65020 100644
--- a/src/libcamera/pipeline/ipu3/ipu3.cpp
+++ b/src/libcamera/pipeline/ipu3/ipu3.cpp
@@ -506,12 +506,6 @@ int PipelineHandlerIPU3::configure(Camera *camera, CameraConfiguration *c)
* the configuration of the active one for that purpose (there should
* be at least one active stream in the configuration request).
*/
- if (!mainCfg) {
- ret = imgu->configureOutput(*vfCfg, &outputFormat);
- if (ret)
- return ret;
- }
-
if (!vfCfg) {
ret = imgu->configureViewfinder(*mainCfg, &outputFormat);
if (ret)