[libcamera-devel] [PATCH 11/20] libcamera: pipeline: simple: Drop unused members of configuration
paul.elder at ideasonboard.com
paul.elder at ideasonboard.com
Tue Mar 2 01:34:57 CET 2021
Hi Laurent,
On Mon, Feb 01, 2021 at 12:46:53AM +0200, Laurent Pinchart wrote:
> The SimpleCameraConfiguration class has a sensorFormat_ member variable
> and a corresponding accessor that are never used. Drop them.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder at ideasonboard.com>
> ---
> src/libcamera/pipeline/simple/simple.cpp | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/src/libcamera/pipeline/simple/simple.cpp b/src/libcamera/pipeline/simple/simple.cpp
> index 390c87ba74d8..f072e0f1fa81 100644
> --- a/src/libcamera/pipeline/simple/simple.cpp
> +++ b/src/libcamera/pipeline/simple/simple.cpp
> @@ -94,8 +94,6 @@ public:
>
> Status validate() override;
>
> - const V4L2SubdeviceFormat &sensorFormat() { return sensorFormat_; }
> -
> bool needConversion() const { return needConversion_; }
>
> private:
> @@ -107,7 +105,6 @@ private:
> std::shared_ptr<Camera> camera_;
> const SimpleCameraData *data_;
>
> - V4L2SubdeviceFormat sensorFormat_;
> bool needConversion_;
> };
>
> --
> Regards,
>
> Laurent Pinchart
>
> _______________________________________________
> libcamera-devel mailing list
> libcamera-devel at lists.libcamera.org
> https://lists.libcamera.org/listinfo/libcamera-devel
More information about the libcamera-devel
mailing list