From patchwork Tue Sep 27 02:36:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 17423 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 67A8FC327F for ; Tue, 27 Sep 2022 02:37:19 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 1999262269; Tue, 27 Sep 2022 04:37:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1664246239; bh=m3T2sQgADx/UNRwg4tib9LD5+5I1OEq0ssZTCj9Ak40=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=vcyzp4C6VrNDc8mPL0n1J4LaLF2ZauRHXYKNaXma4VN4wLjk6qJs9kP7p5hH3uYjY lnTA2WBgIW1cGSsGM+956M4sMYZSLoeYRRxL7hdhuyhj1JuJ/6tWCAU+OIhnYs1IHN Y02GGjR/VrjqFRBaCitLkIzcpjWLed6iKTWlQGe0gvpMz1RSBcUHgVafnZYd8pBOOU LO4cX/NjX9jqMWmDWZqCzgOHU8LpTvxdha4FCbxKo35QEv0dzV1wqpBEmLw3T58LuD sPCXsGZwTY/zj3yYslJVBUFImhIF89RK36d/cOYLcG9n9L5hUmh3TnIIr9aPqEWiIf 24LCgw/4ibDgg== Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 6D81562262 for ; Tue, 27 Sep 2022 04:37:17 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="JNAMZDcd"; dkim-atps=neutral Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id D1C2BE5; Tue, 27 Sep 2022 04:37:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1664246237; bh=m3T2sQgADx/UNRwg4tib9LD5+5I1OEq0ssZTCj9Ak40=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JNAMZDcdqcLHIUAO2GEx9fsj6MAigFDCswQBICvdLuZSjPOOTjvkCLHFzC75sRPEd DaMRvESQPjTVeUh5studINSZHRcZ39vOnIM6JSwwhMLrEyTAIYNh8YRdMSYzoGZizq sYUKKKg8Eo/EEGlobiV+m64r20/qjTBxaQUqHKx4= To: libcamera-devel@lists.libcamera.org Date: Tue, 27 Sep 2022 05:36:21 +0300 Message-Id: <20220927023642.12341-13-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220927023642.12341-1-laurent.pinchart@ideasonboard.com> References: <20220927023642.12341-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v5 12/33] ipa: rkisp1: Remove unused class member X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Laurent Pinchart via libcamera-devel From: Laurent Pinchart Reply-To: Laurent Pinchart Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" From: Jacopo Mondi The "autoExposure" class member is not used. Remove it. Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart Reviewed-by: Kieran Bingham --- src/ipa/rkisp1/rkisp1.cpp | 5 ----- 1 file changed, 5 deletions(-) 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 maxExposure = itExp->second.max().get();