summaryrefslogtreecommitdiff
path: root/src/libcamera/camera.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcamera/camera.cpp')
-rw-r--r--src/libcamera/camera.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libcamera/camera.cpp b/src/libcamera/camera.cpp
index 094f1b63..810cb129 100644
--- a/src/libcamera/camera.cpp
+++ b/src/libcamera/camera.cpp
@@ -740,9 +740,6 @@ int Camera::freeBuffers()
return -EACCES;
for (Stream *stream : activeStreams_) {
- if (!stream->bufferPool().count())
- continue;
-
/*
* All mappings must be destroyed before buffers can be freed
* by the V4L2 device that has allocated them.