[v3,01/15] ipa: rkisp1: lsc: Drop unused member variable
diff mbox series

Message ID 20260114-sklug-lsc-resampling-v2-dev-v3-1-80cd24f4dd61@ideasonboard.com
State New
Headers show
Series
  • Add resampling support for polynomial LSC data
Related show

Commit Message

Stefan Klug Jan. 14, 2026, 11:57 a.m. UTC
The Components::ct member is not used anywhere. Drop it.

Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com>
Reviewed-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>
Reviewed-by: Rui Wang <rui.wang@ideasonboard.com>

---

Changes in v2:
- Collected tags
---
 src/ipa/rkisp1/algorithms/lsc.cpp | 2 --
 src/ipa/rkisp1/algorithms/lsc.h   | 1 -
 2 files changed, 3 deletions(-)

Patch
diff mbox series

diff --git a/src/ipa/rkisp1/algorithms/lsc.cpp b/src/ipa/rkisp1/algorithms/lsc.cpp
index e7301bfec86393c4aad4e645800513d8c262e6f9..ab0ada4eed46bc3fdbce17377164a7fbfb321957 100644
--- a/src/ipa/rkisp1/algorithms/lsc.cpp
+++ b/src/ipa/rkisp1/algorithms/lsc.cpp
@@ -113,7 +113,6 @@  public:
 				return -EINVAL;
 			}
 
-			set.ct = ct;
 			pr->setReferenceImageSize(sensorSize_);
 			pgr->setReferenceImageSize(sensorSize_);
 			pgb->setReferenceImageSize(sensorSize_);
@@ -221,7 +220,6 @@  public:
 
 			LensShadingCorrection::Components &set = lscData[ct];
 
-			set.ct = ct;
 			set.r = parseTable(yamlSet, "r");
 			set.gr = parseTable(yamlSet, "gr");
 			set.gb = parseTable(yamlSet, "gb");
diff --git a/src/ipa/rkisp1/algorithms/lsc.h b/src/ipa/rkisp1/algorithms/lsc.h
index 5a0824e36dd5b45660514ce295fc2f42fdc4fa30..0e3745d5589c2ea94f63efbbb0eb51670cbc2793 100644
--- a/src/ipa/rkisp1/algorithms/lsc.h
+++ b/src/ipa/rkisp1/algorithms/lsc.h
@@ -30,7 +30,6 @@  public:
 		     RkISP1Params *params) override;
 
 	struct Components {
-		uint32_t ct;
 		std::vector<uint16_t> r;
 		std::vector<uint16_t> gr;
 		std::vector<uint16_t> gb;