From c006f964858b44487a7fe07b300fccca7943f775 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Tue, 28 Dec 2021 23:32:02 +0200 Subject: v4l2: v4l2_camera_proxy: Drop trace message from freeBuffers() The freeBuffers() function is only called from vidioc_reqbufs(), which already logs a trace message. Remove the duplicate. Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham Reviewed-by: Paul Elder --- src/v4l2/v4l2_camera_proxy.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/v4l2/v4l2_camera_proxy.cpp b/src/v4l2/v4l2_camera_proxy.cpp index 1802d90b..c9b91967 100644 --- a/src/v4l2/v4l2_camera_proxy.cpp +++ b/src/v4l2/v4l2_camera_proxy.cpp @@ -445,8 +445,6 @@ int V4L2CameraProxy::vidioc_s_input(V4L2CameraFile *file, int *arg) void V4L2CameraProxy::freeBuffers() { - LOG(V4L2Compat, Debug) << "Freeing libcamera bufs"; - vcam_->freeBuffers(); buffers_.clear(); bufferCount_ = 0; -- cgit v1.2.1