From 79f0fc937d95cbf1bd39f04dfd8b83206bda5098 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Fri, 30 Sep 2022 04:08:47 +0300 Subject: ipa: rkisp1: Remove initialized_ flags from algorithms Multiple algorithms have an initialized_ flag that they set to true at the end of the init() function, and check at the beginning of prepare() to skip preparation. This serves no real purpose, as the flag can only be false if init() fails, in which case the IPA module initialization as a whole will fail. Drop the initialized_ flags. Signed-off-by: Laurent Pinchart Reviewed-by: Jacopo Mondi Reviewed-by: Kieran Bingham --- src/ipa/rkisp1/algorithms/gsl.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/ipa/rkisp1/algorithms/gsl.h') diff --git a/src/ipa/rkisp1/algorithms/gsl.h b/src/ipa/rkisp1/algorithms/gsl.h index 5024b683..0f1116a7 100644 --- a/src/ipa/rkisp1/algorithms/gsl.h +++ b/src/ipa/rkisp1/algorithms/gsl.h @@ -25,7 +25,6 @@ public: rkisp1_params_cfg *params) override; private: - bool initialized_; uint32_t gammaDx_[2]; std::vector curveYr_; std::vector curveYg_; -- cgit v1.2.1