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>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user