ipa: raspberrypi: Remove unused member variable
The lastMode_ member variable is now unused, so remove it. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Tested-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
256b1e0302
commit
8ccddecc94
1 changed files with 2 additions and 5 deletions
|
@ -67,8 +67,8 @@ class IPARPi : public ipa::RPi::IPARPiInterface
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
IPARPi()
|
IPARPi()
|
||||||
: lastMode_({}), controller_(), frameCount_(0), checkCount_(0),
|
: controller_(), frameCount_(0), checkCount_(0), mistrustCount_(0),
|
||||||
mistrustCount_(0), lsTable_(nullptr), firstStart_(true)
|
lsTable_(nullptr), firstStart_(true)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -128,7 +128,6 @@ private:
|
||||||
|
|
||||||
/* Camera sensor params. */
|
/* Camera sensor params. */
|
||||||
CameraMode mode_;
|
CameraMode mode_;
|
||||||
CameraMode lastMode_;
|
|
||||||
|
|
||||||
/* Raspberry Pi controller specific defines. */
|
/* Raspberry Pi controller specific defines. */
|
||||||
std::unique_ptr<RPiController::CamHelper> helper_;
|
std::unique_ptr<RPiController::CamHelper> helper_;
|
||||||
|
@ -383,8 +382,6 @@ int IPARPi::configure(const CameraSensorInfo &sensorInfo,
|
||||||
result->controls = std::move(ctrls);
|
result->controls = std::move(ctrls);
|
||||||
}
|
}
|
||||||
|
|
||||||
lastMode_ = mode_;
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue