ipa: raspberrypi: ccm: Remove unnecessary atomic variable

SetSaturation() gets called synchronously so there is no need for
saturation_ to be atomic.

Signed-off-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:
David Plowman 2021-02-04 09:34:53 +00:00 committed by Laurent Pinchart
parent a03cd6af11
commit df3a86ace3

View file

@ -7,7 +7,6 @@
#pragma once
#include <vector>
#include <atomic>
#include "../ccm_algorithm.hpp"
#include "../pwl.hpp"
@ -70,7 +69,7 @@ public:
private:
CcmConfig config_;
std::atomic<double> saturation_;
double saturation_;
};
} // namespace RPiController