[libcamera-devel,v5,12/33] ipa: rkisp1: Remove unused class member
diff mbox series

Message ID 20220927023642.12341-13-laurent.pinchart@ideasonboard.com
State Accepted
Headers show
Series
  • ipa: Frame context queue, IPU3 & RkISP consolidation, and RkISP1 improvements
Related show

Commit Message

Laurent Pinchart Sept. 27, 2022, 2:36 a.m. UTC
From: Jacopo Mondi <jacopo@jmondi.org>

The "autoExposure" class member is not used.

Remove it.

Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
---
 src/ipa/rkisp1/rkisp1.cpp | 5 -----
 1 file changed, 5 deletions(-)

Patch
diff mbox series

diff --git a/src/ipa/rkisp1/rkisp1.cpp b/src/ipa/rkisp1/rkisp1.cpp
index 07210d16b5b5..f7a17459b6c3 100644
--- a/src/ipa/rkisp1/rkisp1.cpp
+++ b/src/ipa/rkisp1/rkisp1.cpp
@@ -71,9 +71,6 @@  private:
 
 	ControlInfoMap ctrls_;
 
-	/* Camera sensor controls. */
-	bool autoExposure_;
-
 	/* revision-specific data */
 	rkisp1_cif_isp_version hwRevision_;
 	unsigned int hwHistBinNMax_;
@@ -216,8 +213,6 @@  int IPARkISP1::configure([[maybe_unused]] const IPACameraSensorInfo &info,
 		return -EINVAL;
 	}
 
-	autoExposure_ = true;
-
 	int32_t minExposure = itExp->second.min().get<int32_t>();
 	int32_t maxExposure = itExp->second.max().get<int32_t>();