[libcamera-devel] [PATCH v3 5/7] ipa: raspberrypi: Remove unused member variable
Naushir Patuck
naush at raspberrypi.com
Tue Mar 23 15:36:08 CET 2021
The lastMode_ member variable is now unused, so remove it.
Signed-off-by: Naushir Patuck <naush at raspberrypi.com>
Tested-by: David Plowman <david.plowman at raspberrypi.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
---
src/ipa/raspberrypi/raspberrypi.cpp | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/src/ipa/raspberrypi/raspberrypi.cpp b/src/ipa/raspberrypi/raspberrypi.cpp
index bd20b144f520..93e43f0626fb 100644
--- a/src/ipa/raspberrypi/raspberrypi.cpp
+++ b/src/ipa/raspberrypi/raspberrypi.cpp
@@ -67,8 +67,8 @@ class IPARPi : public ipa::RPi::IPARPiInterface
{
public:
IPARPi()
- : lastMode_({}), controller_(), frameCount_(0), checkCount_(0),
- mistrustCount_(0), lsTable_(nullptr), firstStart_(true)
+ : controller_(), frameCount_(0), checkCount_(0), mistrustCount_(0),
+ lsTable_(nullptr), firstStart_(true)
{
}
@@ -128,7 +128,6 @@ private:
/* Camera sensor params. */
CameraMode mode_;
- CameraMode lastMode_;
/* Raspberry Pi controller specific defines. */
std::unique_ptr<RPiController::CamHelper> helper_;
@@ -383,8 +382,6 @@ int IPARPi::configure(const CameraSensorInfo &sensorInfo,
result->controls = std::move(ctrls);
}
- lastMode_ = mode_;
-
return 0;
}
--
2.25.1
More information about the libcamera-devel
mailing list